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.1.tar.gz
(7.4 kB
view hashes)
Built Distribution
Close
Hashes for aero_svo_api-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7a24a0c408547dd384919cf971335ed8879d2647fcdb2829e0259795733a808 |
|
MD5 | f606efc43eaf8b472321ff5a4d9d793b |
|
BLAKE2b-256 | 66b76886d084faaede5c1a4db4edf63efaa16a57f1c37609c314fcc5da5c4fd4 |