FlightRadarAPI 1.3.27__tar.gz → 1.3.29__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.29}/FlightRadar24/__init__.py +2 -3
- {flightradarapi-1.3.27 → flightradarapi-1.3.29}/PKG-INFO +33 -9
- {flightradarapi-1.3.27 → flightradarapi-1.3.29}/README.md +29 -8
- {flightradarapi-1.3.27 → flightradarapi-1.3.29}/pyproject.toml +4 -1
- flightradarapi-1.3.29/tests/conftest.py +5 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.29}/tests/package.py +0 -6
- {flightradarapi-1.3.27 → flightradarapi-1.3.29}/.flake8 +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.29}/.gitignore +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.29}/FlightRadar24/api.py +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.29}/FlightRadar24/core.py +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.29}/FlightRadar24/entities/__init__.py +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.29}/FlightRadar24/entities/airport.py +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.29}/FlightRadar24/entities/entity.py +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.29}/FlightRadar24/entities/flight.py +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.29}/FlightRadar24/errors.py +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.29}/FlightRadar24/request.py +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.29}/LICENSE +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.29}/requirements.txt +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.29}/tests/test_api.py +0 -0
- {flightradarapi-1.3.27 → flightradarapi-1.3.29}/tests/util.py +0 -0
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
Unofficial SDK for FlightRadar24.
|
|
5
5
|
|
|
6
6
|
This SDK provides flight and airport data available to the public
|
|
7
|
-
on the FlightRadar24 website.
|
|
8
|
-
using this API commercially, you need to subscribe to the Business plan.
|
|
7
|
+
on the FlightRadar24 website.
|
|
9
8
|
|
|
10
9
|
See more information at:
|
|
11
10
|
https://www.flightradar24.com/premium/
|
|
@@ -13,7 +12,7 @@ https://www.flightradar24.com/terms-and-conditions
|
|
|
13
12
|
"""
|
|
14
13
|
|
|
15
14
|
__author__ = "Jean Loui Bernard Silva de Jesus"
|
|
16
|
-
__version__ = "1.3.
|
|
15
|
+
__version__ = "1.3.29"
|
|
17
16
|
|
|
18
17
|
from .api import FlightRadar24API, FlightTrackerConfig
|
|
19
18
|
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.29
|
|
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,9 +25,10 @@ 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.
|
|
29
|
+
|
|
30
|
+
This SDK provides flight and airport data available to the public on the FlightRadar24 website.
|
|
26
31
|
|
|
27
|
-
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
32
|
See more information at: https://www.flightradar24.com/terms-and-conditions
|
|
29
33
|
|
|
30
34
|
[](https://github.com/JeanExtreme002/FlightRadarAPI/actions)
|
|
@@ -34,15 +38,35 @@ See more information at: https://www.flightradar24.com/terms-and-conditions
|
|
|
34
38
|
[](https://www.npmjs.com/package/flightradarapi)
|
|
35
39
|
[](https://pypi.org/project/FlightRadarAPI/)
|
|
36
40
|
[](https://pypi.org/project/FlightRadarAPI/)
|
|
37
|
-
|
|
38
|
-
|
|
41
|
+
|
|
42
|
+
## Installing FlightRadarAPI:
|
|
43
|
+
```
|
|
44
|
+
$ pip install FlightRadarAPI
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Basic Usage:
|
|
48
|
+
Import the class `FlightRadar24API` and create an instance of it.
|
|
49
|
+
```py
|
|
50
|
+
from FlightRadar24 import FlightRadar24API
|
|
51
|
+
fr_api = FlightRadar24API()
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
**Getting flights list:**
|
|
55
|
+
```py
|
|
56
|
+
flights = fr_api.get_flights(...) # Returns a list of Flight objects
|
|
39
57
|
```
|
|
40
|
-
|
|
58
|
+
**Getting airports list:**
|
|
59
|
+
```py
|
|
60
|
+
airports = fr_api.get_airports(...) # Returns a list of Airport objects
|
|
41
61
|
```
|
|
42
|
-
**
|
|
62
|
+
**Getting airlines list:**
|
|
63
|
+
```py
|
|
64
|
+
airlines = fr_api.get_airlines()
|
|
43
65
|
```
|
|
44
|
-
|
|
66
|
+
**Getting zones list:**
|
|
67
|
+
```py
|
|
68
|
+
zones = fr_api.get_zones()
|
|
45
69
|
```
|
|
46
70
|
|
|
47
71
|
## Documentation
|
|
48
|
-
Explore the documentation of FlightRadarAPI package, for Python or NodeJS, through [this site](https://JeanExtreme002.github.io/FlightRadarAPI/).
|
|
72
|
+
Explore the documentation of FlightRadarAPI package, for Python or NodeJS, through [this site](https://JeanExtreme002.github.io/FlightRadarAPI/).
|
|
@@ -1,7 +1,8 @@
|
|
|
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
|
+
|
|
4
|
+
This SDK provides flight and airport data available to the public on the FlightRadar24 website.
|
|
3
5
|
|
|
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
6
|
See more information at: https://www.flightradar24.com/terms-and-conditions
|
|
6
7
|
|
|
7
8
|
[](https://github.com/JeanExtreme002/FlightRadarAPI/actions)
|
|
@@ -11,15 +12,35 @@ See more information at: https://www.flightradar24.com/terms-and-conditions
|
|
|
11
12
|
[](https://www.npmjs.com/package/flightradarapi)
|
|
12
13
|
[](https://pypi.org/project/FlightRadarAPI/)
|
|
13
14
|
[](https://pypi.org/project/FlightRadarAPI/)
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
|
|
16
|
+
## Installing FlightRadarAPI:
|
|
17
|
+
```
|
|
18
|
+
$ pip install FlightRadarAPI
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Basic Usage:
|
|
22
|
+
Import the class `FlightRadar24API` and create an instance of it.
|
|
23
|
+
```py
|
|
24
|
+
from FlightRadar24 import FlightRadar24API
|
|
25
|
+
fr_api = FlightRadar24API()
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
**Getting flights list:**
|
|
29
|
+
```py
|
|
30
|
+
flights = fr_api.get_flights(...) # Returns a list of Flight objects
|
|
16
31
|
```
|
|
17
|
-
|
|
32
|
+
**Getting airports list:**
|
|
33
|
+
```py
|
|
34
|
+
airports = fr_api.get_airports(...) # Returns a list of Airport objects
|
|
18
35
|
```
|
|
19
|
-
**
|
|
36
|
+
**Getting airlines list:**
|
|
37
|
+
```py
|
|
38
|
+
airlines = fr_api.get_airlines()
|
|
20
39
|
```
|
|
21
|
-
|
|
40
|
+
**Getting zones list:**
|
|
41
|
+
```py
|
|
42
|
+
zones = fr_api.get_zones()
|
|
22
43
|
```
|
|
23
44
|
|
|
24
45
|
## Documentation
|
|
25
|
-
Explore the documentation of FlightRadarAPI package, for Python or NodeJS, through [this site](https://JeanExtreme002.github.io/FlightRadarAPI/).
|
|
46
|
+
Explore the documentation of FlightRadarAPI package, for Python or NodeJS, through [this site](https://JeanExtreme002.github.io/FlightRadarAPI/).
|
|
@@ -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
|