aioymaps
is an asynchronous library provides API to fetch json information about transport stops from Yandex Maps
aioymaps
requires python 3.5 or higher due to async/await syntax and aiohttp library
Use pip to install the library: :
pip install aioymaps
Or install manually. :
sudo python ./setup.py install
from aioymaps import YandexMapsRequester
requester = YandexMapsRequester()
data = await requester.get_stop_info('stop__10067199')
print(data)
Or you can use it in your shell: :
python -m aioymaps -s group__219