Skip to main content

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)

Uploaded Source

Built Distribution

aero_svo_api-0.1.3-py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page