Skip to main content

Lib for getting schedule data from Yandex Schedule API

Project description

yaschedule

Lib for getting schedule data from Yandex Schedule API: https://yandex.ru/dev/rasp/doc/concepts/about.html

Python version PyPi version

Quick Start

from yaschedule.core import YaSchedule

#TO GET TOKEN - https://yandex.ru/dev/rasp/doc/concepts/access.html
TOKEN = 'some string' 

# init 
yaschedule = YaSchedule(TOKEN)

# get all stations info 
yaschedule.get_all_stations() # !!! The size of the returned is about 40 MB

# get schedule between two stations
station_1 = 's9600366' # pulkovo
station_2 = 's9600213' # sheremetevo
yaschedule.get_stations_schedule(station_1, station_2)

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

yaschedule-0.0.3.1.tar.gz (6.6 kB view hashes)

Uploaded Source

Built Distribution

yaschedule-0.0.3.1-py3-none-any.whl (7.0 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