Socket
Socket
Sign inDemoInstall

aero-svo-api

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    aero-svo-api

Unoficial api wrapper for Sheremetyevo International Airport


Maintainers
1

Readme

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())

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc