Python API wrapper for the galician public transport


Keywords
bus, buses, transport, public, galicia, api, galician, python
Licenses
GPL-3.0/GPL-3.0+
Install
pip install busGal-api==0.1.1.1

Documentation

bus.gal-api 🚍

GitHub license PyPI version Upload Python Package

Python API wrapper for the galician public transport which uses the associated app's http API to get the inforamtion about buses, your card and your user account. I got the endpoints using mitmproxy.

📜 Documentation

Documentation can be found here. There are two main submodules: busGal_api.transport and busGal_api.accounts, the first one has all the functions related to transportation and the second one allows you to manage cards and accounts, as the name implies.

🔧 Installation

Just run:

pip install busGal_api

✅ Quick examples

There are quick examples for both the submodules mentioned above in their __main__.py and their docs.

⚠️ Disclaimer

This project is not endorsed by, directly affiliated with, maintained by, sponsored by or in any way officially related with la Xunta de Galicia, the bus operators or any of the companies involved in the bus.gal website and the app.