FlightRadarAPI 1.3.27__tar.gz → 1.3.28__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.27 → flightradarapi-1.3.28}/FlightRadar24/__init__.py +1 -1
- {flightradarapi-1.3.27 → flightradarapi-1.3.28}/PKG-INFO +30 -7
- {flightradarapi-1.3.27 → flightradarapi-1.3.28}/README.md +26 -6
- {flightradarapi-1.3.27 → flightradarapi-1.3.28}/pyproject.toml +4 -1
- flightradarapi-1.3.28/tests/conftest.py +5 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.28}/tests/package.py +0 -6
- {flightradarapi-1.3.27 → flightradarapi-1.3.28}/.flake8 +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.28}/.gitignore +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.28}/FlightRadar24/api.py +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.28}/FlightRadar24/core.py +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.28}/FlightRadar24/entities/__init__.py +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.28}/FlightRadar24/entities/airport.py +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.28}/FlightRadar24/entities/entity.py +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.28}/FlightRadar24/entities/flight.py +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.28}/FlightRadar24/errors.py +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.28}/FlightRadar24/request.py +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.28}/LICENSE +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.28}/requirements.txt +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.28}/tests/test_api.py +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.28}/tests/util.py +0 -0
|
@@ -13,7 +13,7 @@ https://www.flightradar24.com/terms-and-conditions
|
|
|
13
13
|
"""
|
|
14
14
|
|
|
15
15
|
__author__ = "Jean Loui Bernard Silva de Jesus"
|
|
16
|
-
__version__ = "1.3.
|
|
16
|
+
__version__ = "1.3.28"
|
|
17
17
|
|
|
18
18
|
from .api import FlightRadar24API, FlightTrackerConfig
|
|
19
19
|
from .entities import Airport, Entity, Flight
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: FlightRadarAPI
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.28
|
|
4
4
|
Summary: SDK for FlightRadar24
|
|
5
5
|
Project-URL: Homepage, https://github.com/JeanExtreme002/FlightRadarAPI
|
|
6
|
+
Project-URL: Source Code, https://github.com/JeanExtreme002/FlightRadarAPI
|
|
7
|
+
Project-URL: Documentation, https://jeanextreme002.github.io/FlightRadarAPI/
|
|
8
|
+
Project-URL: Bug Reports, https://github.com/JeanExtreme002/FlightRadarAPI/issues
|
|
6
9
|
Author-email: Jean Loui Bernard Silva de Jesus <jeanextreme002@gmail.com>
|
|
7
10
|
License-Expression: MIT
|
|
8
11
|
License-File: LICENSE
|
|
@@ -22,7 +25,7 @@ Requires-Dist: pytest; extra == 'tests'
|
|
|
22
25
|
Description-Content-Type: text/markdown
|
|
23
26
|
|
|
24
27
|
# FlightRadarAPI
|
|
25
|
-
Unofficial SDK for [FlightRadar24](https://www.flightradar24.com/) for Python 3 and
|
|
28
|
+
Unofficial SDK for [FlightRadar24](https://www.flightradar24.com/) for Python 3 and Node.js.
|
|
26
29
|
|
|
27
30
|
If you want to use the data collected using this SDK commercially, you need to subscribe to the [Business plan](https://www.flightradar24.com/premium/).</br>
|
|
28
31
|
See more information at: https://www.flightradar24.com/terms-and-conditions
|
|
@@ -34,14 +37,34 @@ See more information at: https://www.flightradar24.com/terms-and-conditions
|
|
|
34
37
|
[](https://www.npmjs.com/package/flightradarapi)
|
|
35
38
|
[](https://pypi.org/project/FlightRadarAPI/)
|
|
36
39
|
[](https://pypi.org/project/FlightRadarAPI/)
|
|
37
|
-
|
|
38
|
-
|
|
40
|
+
|
|
41
|
+
## Installing FlightRadarAPI:
|
|
42
|
+
```
|
|
43
|
+
$ pip install FlightRadarAPI
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Basic Usage:
|
|
47
|
+
Import the class `FlightRadar24API` and create an instance of it.
|
|
48
|
+
```py
|
|
49
|
+
from FlightRadar24 import FlightRadar24API
|
|
50
|
+
fr_api = FlightRadar24API()
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
**Getting flights list:**
|
|
54
|
+
```py
|
|
55
|
+
flights = fr_api.get_flights(...) # Returns a list of Flight objects
|
|
39
56
|
```
|
|
40
|
-
|
|
57
|
+
**Getting airports list:**
|
|
58
|
+
```py
|
|
59
|
+
airports = fr_api.get_airports(...) # Returns a list of Airport objects
|
|
41
60
|
```
|
|
42
|
-
**
|
|
61
|
+
**Getting airlines list:**
|
|
62
|
+
```py
|
|
63
|
+
airlines = fr_api.get_airlines()
|
|
43
64
|
```
|
|
44
|
-
|
|
65
|
+
**Getting zones list:**
|
|
66
|
+
```py
|
|
67
|
+
zones = fr_api.get_zones()
|
|
45
68
|
```
|
|
46
69
|
|
|
47
70
|
## Documentation
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# FlightRadarAPI
|
|
2
|
-
Unofficial SDK for [FlightRadar24](https://www.flightradar24.com/) for Python 3 and
|
|
2
|
+
Unofficial SDK for [FlightRadar24](https://www.flightradar24.com/) for Python 3 and Node.js.
|
|
3
3
|
|
|
4
4
|
If you want to use the data collected using this SDK commercially, you need to subscribe to the [Business plan](https://www.flightradar24.com/premium/).</br>
|
|
5
5
|
See more information at: https://www.flightradar24.com/terms-and-conditions
|
|
@@ -11,14 +11,34 @@ See more information at: https://www.flightradar24.com/terms-and-conditions
|
|
|
11
11
|
[](https://www.npmjs.com/package/flightradarapi)
|
|
12
12
|
[](https://pypi.org/project/FlightRadarAPI/)
|
|
13
13
|
[](https://pypi.org/project/FlightRadarAPI/)
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
|
|
15
|
+
## Installing FlightRadarAPI:
|
|
16
|
+
```
|
|
17
|
+
$ pip install FlightRadarAPI
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Basic Usage:
|
|
21
|
+
Import the class `FlightRadar24API` and create an instance of it.
|
|
22
|
+
```py
|
|
23
|
+
from FlightRadar24 import FlightRadar24API
|
|
24
|
+
fr_api = FlightRadar24API()
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**Getting flights list:**
|
|
28
|
+
```py
|
|
29
|
+
flights = fr_api.get_flights(...) # Returns a list of Flight objects
|
|
16
30
|
```
|
|
17
|
-
|
|
31
|
+
**Getting airports list:**
|
|
32
|
+
```py
|
|
33
|
+
airports = fr_api.get_airports(...) # Returns a list of Airport objects
|
|
18
34
|
```
|
|
19
|
-
**
|
|
35
|
+
**Getting airlines list:**
|
|
36
|
+
```py
|
|
37
|
+
airlines = fr_api.get_airlines()
|
|
20
38
|
```
|
|
21
|
-
|
|
39
|
+
**Getting zones list:**
|
|
40
|
+
```py
|
|
41
|
+
zones = fr_api.get_zones()
|
|
22
42
|
```
|
|
23
43
|
|
|
24
44
|
## Documentation
|
|
@@ -34,10 +34,13 @@ tests = [
|
|
|
34
34
|
|
|
35
35
|
[project.urls]
|
|
36
36
|
"Homepage" = "https://github.com/JeanExtreme002/FlightRadarAPI"
|
|
37
|
+
"Source Code" = "https://github.com/JeanExtreme002/FlightRadarAPI"
|
|
38
|
+
"Documentation" = "https://jeanextreme002.github.io/FlightRadarAPI/"
|
|
39
|
+
"Bug Reports" = "https://github.com/JeanExtreme002/FlightRadarAPI/issues"
|
|
37
40
|
|
|
38
41
|
[tool.hatch.version]
|
|
39
42
|
path = "FlightRadar24/__init__.py"
|
|
40
43
|
|
|
41
44
|
[build-system]
|
|
42
45
|
requires = ["hatchling"]
|
|
43
|
-
build-backend = "hatchling.build"
|
|
46
|
+
build-backend = "hatchling.build"
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
|
|
3
|
-
import os
|
|
4
|
-
import sys
|
|
5
|
-
|
|
6
|
-
current_dir = os.path.join(os.getcwd(), "python")
|
|
7
|
-
sys.path.append(current_dir)
|
|
8
|
-
|
|
9
3
|
from FlightRadar24 import __version__ as version
|
|
10
4
|
from FlightRadar24 import FlightRadar24API
|
|
11
5
|
from FlightRadar24.errors import CloudflareError
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|