# bus.gal-api 🚍
[](https://github.com/peprolinbot/bus.gal-api) [](https://pypi.org/project/busGal-api) [](https://github.com/peprolinbot/bus.gal-api/actions/workflows/python-publish.yml)
Python API wrapper for [the galician public transport](https://www.bus.gal/) which uses the associated [app](https://play.google.com/store/apps/details?id=gal.xunta.transportepublico)’s http API to get the inforamtion about buses, your card and your user account. I got the endpoints using [mitmproxy](https://mitmproxy.org/).
## 📜 Documentation
Documentation can be found [here](https://peprolinbot.github.io/bus.gal-api). 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:
` bash 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](https://www.bus.gal/) website and the [app](https://play.google.com/store/apps/details?id=gal.xunta.transportepublico).
This software is provided ‘as is’ without any warranty of any kind. The user of this software assumes all responsibility and risk for its use. I shall not be liable for any damages or misuse of this software. Please use the code and information in this repo responsibly.
Metadata
Release files for busGal-api 0.3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| busgal_api-0.3.0.0.tar.gz | 36.9 kB | Without provenance | Details for busgal_api-0.3.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| busgal_api-0.3.0.0-py3-none-any.whl | Python 3 | none | any | Details for busgal_api-0.3.0.0-py3-none-any.whl |
Total release size: 78.8 kB
Release files / busgal_api-0.3.0.0.tar.gz
| Download URL | busgal_api-0.3.0.0.tar.gz |
|---|---|
| Size | 36.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1f8de4faec4c4ace655e0afd49f4e13f260ec8590b33d21f9737a596e03df97
|
|
BLAKE2b-256 checksum How to use checksums |
3c50b362c1b4d9309e51d7e29be61043852a55078250989d40c66fdc24356fc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / busgal_api-0.3.0.0-py3-none-any.whl
| Download URL | busgal_api-0.3.0.0-py3-none-any.whl |
|---|---|
| Size | 41.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8dcadcb4ae49474b865860de18c3c5d9306975e11caa5755c046aaedda11d44c
|
|
BLAKE2b-256 checksum How to use checksums |
7940bd50209417f051b2da6b9e34efd9d15902c6b6032dacc76b10a415f126e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for busGal-api 0.3.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.