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.2.tar.gz
(7.4 kB
view hashes)
Built Distribution
Close
Hashes for aero_svo_api-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 338712556511ef44742b2fc6ec6f672735a833a29b7cf1e141effe410ffeec70 |
|
MD5 | a69daf957aad7cdfb7b8e4f6be1e2c46 |
|
BLAKE2b-256 | 3ade25e85a86ebaff6ac82325d8b69d8490c77ea2776c6030db7366c23a95ba5 |