New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aero-svo-api

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aero-svo-api

Unoficial api wrapper for Sheremetyevo International Airport

  • 0.2.0
  • PyPI
  • Socket score

Maintainers
1

aero-svo-api

Unofficial Sheremetyevo International Airport website API wrapper

  • Sync/Async usage
  • Pydantic models as a result

Installation

pip install aero-svo-api

Available methods

  • get_schedule - List of flights for arrival/departure direction in a time range
  • get_flight - Current flight details by its ID

Usage example

from datetime import datetime, timedelta
from aero_svo_api import SvoAPI

# each *API instance creates own session with first request if session not provided in constructor
# by default: request.Session for SvoAPI and aiohttp.ClientSession for AsyncSvoAPI

svo_api = SvoAPI()

schedule = svo_api.get_schedule(
    direction='departure',
    date_start=datetime.now(),
    date_end=datetime.now() + timedelta(hours=3),
    # additional parameters (e.g. headers, cookies, ...) forwards to session request
    headers={'User-Agent': 'Custom user-agent'}
)

Keywords

FAQs


Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc