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.0.1.tar.gz
(7.2 kB
view hashes)
Built Distribution
Close
Hashes for aero_svo_api-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d13ec21988b8fbd0336155ed2b92c884fad14c4f3b49225870203b9a9df5a21 |
|
MD5 | 6ffb7fbf76d792d6fe83a065923055f9 |
|
BLAKE2b-256 | c19c3c604613e538d9f77ff776cb7e93447857462a57451233dce50df86af3a1 |