FlightRadarAPI 1.3.33__tar.gz → 1.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {flightradarapi-1.3.33 → flightradarapi-1.4.0}/.flake8 +10 -10
- {flightradarapi-1.3.33 → flightradarapi-1.4.0}/.gitignore +8 -8
- {flightradarapi-1.3.33 → flightradarapi-1.4.0}/FlightRadar24/__init__.py +18 -18
- {flightradarapi-1.3.33 → flightradarapi-1.4.0}/FlightRadar24/api.py +639 -486
- flightradarapi-1.4.0/FlightRadar24/core.py +316 -0
- {flightradarapi-1.3.33 → flightradarapi-1.4.0}/FlightRadar24/entities/__init__.py +5 -5
- {flightradarapi-1.3.33 → flightradarapi-1.4.0}/FlightRadar24/entities/airport.py +178 -178
- {flightradarapi-1.3.33 → flightradarapi-1.4.0}/FlightRadar24/entities/entity.py +31 -31
- {flightradarapi-1.3.33 → flightradarapi-1.4.0}/FlightRadar24/entities/flight.py +208 -208
- {flightradarapi-1.3.33 → flightradarapi-1.4.0}/FlightRadar24/errors.py +17 -17
- {flightradarapi-1.3.33 → flightradarapi-1.4.0}/FlightRadar24/request.py +110 -110
- flightradarapi-1.4.0/FlightRadar24/zones.py +204 -0
- {flightradarapi-1.3.33 → flightradarapi-1.4.0}/LICENSE +21 -21
- flightradarapi-1.4.0/Makefile +294 -0
- {flightradarapi-1.3.33 → flightradarapi-1.4.0}/PKG-INFO +4 -2
- {flightradarapi-1.3.33 → flightradarapi-1.4.0}/README.md +46 -44
- {flightradarapi-1.3.33 → flightradarapi-1.4.0}/pyproject.toml +46 -46
- flightradarapi-1.4.0/pytest.ini +15 -0
- {flightradarapi-1.3.33 → flightradarapi-1.4.0}/requirements.txt +4 -3
- {flightradarapi-1.3.33 → flightradarapi-1.4.0}/tests/conftest.py +5 -5
- {flightradarapi-1.3.33 → flightradarapi-1.4.0}/tests/package.py +5 -5
- {flightradarapi-1.3.33 → flightradarapi-1.4.0}/tests/test_api.py +143 -134
- {flightradarapi-1.3.33 → flightradarapi-1.4.0}/tests/util.py +41 -41
- flightradarapi-1.3.33/FlightRadar24/core.py +0 -75
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
[flake8]
|
|
2
|
-
|
|
3
|
-
max-line-length = 130
|
|
4
|
-
ignore = W503, E701, E722
|
|
5
|
-
|
|
6
|
-
per-file-ignores =
|
|
7
|
-
# __init__.py files are allowed to have unused imports and lines-too-long
|
|
8
|
-
*/__init__.py:F401
|
|
9
|
-
|
|
10
|
-
# Unused imports are allowed in the tests/package.py module and they must come after setting the current working directory.
|
|
1
|
+
[flake8]
|
|
2
|
+
|
|
3
|
+
max-line-length = 130
|
|
4
|
+
ignore = W503, E701, E722
|
|
5
|
+
|
|
6
|
+
per-file-ignores =
|
|
7
|
+
# __init__.py files are allowed to have unused imports and lines-too-long
|
|
8
|
+
*/__init__.py:F401
|
|
9
|
+
|
|
10
|
+
# Unused imports are allowed in the tests/package.py module and they must come after setting the current working directory.
|
|
11
11
|
tests/package.py:F401, E402
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
__pycache__
|
|
2
|
-
dist
|
|
3
|
-
*.pytest_cache
|
|
4
|
-
*.egg-info
|
|
5
|
-
.idea/
|
|
6
|
-
venv/
|
|
7
|
-
node_modules/
|
|
8
|
-
.env
|
|
1
|
+
__pycache__
|
|
2
|
+
dist
|
|
3
|
+
*.pytest_cache
|
|
4
|
+
*.egg-info
|
|
5
|
+
.idea/
|
|
6
|
+
venv/
|
|
7
|
+
node_modules/
|
|
8
|
+
.env
|
|
9
9
|
.cache
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Unofficial SDK for FlightRadar24.
|
|
5
|
-
|
|
6
|
-
This SDK provides flight and airport data available to the public
|
|
7
|
-
on the FlightRadar24 website.
|
|
8
|
-
|
|
9
|
-
See more information at:
|
|
10
|
-
https://www.flightradar24.com/premium/
|
|
11
|
-
https://www.flightradar24.com/terms-and-conditions
|
|
12
|
-
"""
|
|
13
|
-
|
|
14
|
-
__author__ = "Jean Loui Bernard Silva de Jesus"
|
|
15
|
-
__version__ = "1.
|
|
16
|
-
|
|
17
|
-
from .api import FlightRadar24API, FlightTrackerConfig
|
|
18
|
-
from .entities import Airport, Entity, Flight
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Unofficial SDK for FlightRadar24.
|
|
5
|
+
|
|
6
|
+
This SDK provides flight and airport data available to the public
|
|
7
|
+
on the FlightRadar24 website.
|
|
8
|
+
|
|
9
|
+
See more information at:
|
|
10
|
+
https://www.flightradar24.com/premium/
|
|
11
|
+
https://www.flightradar24.com/terms-and-conditions
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
__author__ = "Jean Loui Bernard Silva de Jesus"
|
|
15
|
+
__version__ = "1.4.0"
|
|
16
|
+
|
|
17
|
+
from .api import Countries, FlightRadar24API, FlightTrackerConfig
|
|
18
|
+
from .entities import Airport, Entity, Flight
|