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
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)
Built Distribution
Close
Hashes for yaschedule-0.0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2835f7524ff4ee82f42269d954794f592f9bb407211065d716a50e55a1923b22 |
|
MD5 | a28f95b3d07aaf2b3ce63f15feb1dd34 |
|
BLAKE2b-256 | 32021b68a8f8d9c200eee5c79edfd0acb73ffdb49cf55894303e87be6d5d3e74 |