Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thibmaek/pyvrt
🐍 Python library to interact with VRT public APIs (weather, traffic…)
https://github.com/thibmaek/pyvrt
api-wrapper pip python3 thibmaek-com traffic vlaamse-radio-televisie vrt weather
Last synced: about 4 hours ago
JSON representation
🐍 Python library to interact with VRT public APIs (weather, traffic…)
- Host: GitHub
- URL: https://github.com/thibmaek/pyvrt
- Owner: thibmaek
- License: mit
- Created: 2020-05-26T15:01:33.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-02T14:42:31.000Z (almost 4 years ago)
- Last Synced: 2024-12-25T00:37:14.039Z (2 days ago)
- Topics: api-wrapper, pip, python3, thibmaek-com, traffic, vlaamse-radio-televisie, vrt, weather
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# pyvrt
🐍 Python library to interact with VRT public APIs (weather, traffic…)
## Usage
```python
import pyvrt.traffic as traffic
import pyvrt.weather as weatherweather.summary()
weather.forecast(region='BE', zone='kust')traffic.traffic_jam(km=True)
```## Development
```shell
$ make install
$ make build
```To debug, create an index.py file with some code and run through Python runtime:
```py
# pyvrt/media/index.py
from . import stubruprint(stubru.current())
``````shell
$ python -m pyvrt.media.index
```