Python library to interact with VRT public APIs
🐍 Python library to interact with VRT public APIs (weather, traffic…)
import pyvrt.traffic as traffic import pyvrt.weather as weather weather.summary() weather.forecast(region='BE', zone='kust') traffic.traffic_jam(km=True)
$ make install $ make build
To debug, create an index.py file with some code and run through Python runtime:
# pyvrt/media/index.py from . import stubru print(stubru.current())
$ python -m pyvrt.media.index
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.