Unoficial api wrapper for Sheremetyevo International Airport
Project description
aero-svo-api
Unoficial API wrapper for Sheremetyevo International Airport svo.aero
- Asynchronous usage
- Pydantic models as a result
Install
pip install aero-svo-api
Basic Usage
Example
import asyncio
from datetime import datetime, timedelta
from aero_svo_api import AsyncSvoApi
async def main():
async with AsyncSvoApi() as api:
schedule = await api.get_schedule(
direction='arrival',
date_start=datetime.now() - timedelta(hours=2),
date_end=datetime.now(),
per_page=3,
page=1,
)
print(schedule)
asyncio.run(main())
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aero_svo_api-0.1.3.tar.gz
(7.7 kB
view hashes)
Built Distribution
Close
Hashes for aero_svo_api-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 526e8770385c12eab45ff0d76515dde81e831760fea8a06504bce41cf7631db4 |
|
MD5 | 8c648cec5661dacffa78c0ed3b0caca2 |
|
BLAKE2b-256 | afa770105f60f1ec27c16bcdb1d976a624c25e1da922175250ae68e5838f2c46 |