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 details)
Built Distribution
File details
Details for the file yaschedule-0.0.3.1.tar.gz
.
File metadata
- Download URL: yaschedule-0.0.3.1.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2c8ddca4c871b35c6a28094596d35079e31789430834462fd78edcc97dce911 |
|
MD5 | d11377b2ffea8c08561b6e6c681394e1 |
|
BLAKE2b-256 | adf714722e92ba76a41ab85b0d7f3e79dafde453f3cb38046ec6af97657edea5 |
File details
Details for the file yaschedule-0.0.3.1-py3-none-any.whl
.
File metadata
- Download URL: yaschedule-0.0.3.1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2835f7524ff4ee82f42269d954794f592f9bb407211065d716a50e55a1923b22 |
|
MD5 | a28f95b3d07aaf2b3ce63f15feb1dd34 |
|
BLAKE2b-256 | 32021b68a8f8d9c200eee5c79edfd0acb73ffdb49cf55894303e87be6d5d3e74 |