aero-svo-api
Unofficial Sheremetyevo International Airport website API wrapper
- Sync/Async usage
- Pydantic models as a result
Installation
pip install aero-svo-api
Available methods
get_schedule- List of flights for arrival/departure direction in a time rangeget_flight- Current flight details by its ID
Usage example
from datetime import datetime, timedelta
from aero_svo_api import SvoAPI
# each *API instance creates own session with first request if session not provided in constructor
# by default: request.Session for SvoAPI and aiohttp.ClientSession for AsyncSvoAPI
svo_api = SvoAPI()
schedule = svo_api.get_schedule(
direction='departure',
date_start=datetime.now(),
date_end=datetime.now() + timedelta(hours=3),
# additional parameters (e.g. headers, cookies, ...) forwards to session request
headers={'User-Agent': 'Custom user-agent'}
)
Metadata
Release files for aero-svo-api 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aero_svo_api-0.2.0.tar.gz | 7.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aero_svo_api-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.1 kB
Release files / aero_svo_api-0.2.0.tar.gz
| Download URL | aero_svo_api-0.2.0.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b4f26f51ff4178df7310aaf59909ef020b3c3ff9b97e26c4359d6f9d012797b
|
|
BLAKE2b-256 checksum How to use checksums |
87bdb858722f3fb6c116177b3f4158fad9728de50c397c9a07c8b3a042553fa6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
|
Release files / aero_svo_api-0.2.0-py3-none-any.whl
| Download URL | aero_svo_api-0.2.0-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1d8f92239ad70fc7252e728b567321aedfd4d26f251b50348932906d36180679
|
|
BLAKE2b-256 checksum How to use checksums |
49f75c9f445d30c410ed1de799fc02711aeb1cf84e1ef19da7b0d6181f3d4247
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
|