Python API wrapper for the city of A Coruña public transport
Project description
itranvias_api 🚍
Python API wrapper for the city of A Coruña public transport ran by Cia. Tranvías de La Coruña, S.A..
📜 Documentation
Documentation can be found here.
For the time being there is only one submodule: itranvias_api.queryitr which implements all (that I know of) functionality in the official iTranvías client, using the "queryitr" API used by it, found at https://itranvias.com/queryitr_v3.php.
🔧 Installation
Just run:
pip install itranvias_api
🖥️ CLI client
I have written a very simple, very basic POC, CLI client using this library, it is avaliable as itranvias-cli once the package is installed.
Usage:
usage: itranvias-cli [-h] {stop,line} ...
Get real-time bus information for the city of A Coruña.
positional arguments:
{stop,line}
stop Get next buses for a specific stop.
line Get buses and stops 'diagram' for a specific line and route.
options:
-h, --help show this help message and exit
⚠️ 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, Concello da Coruña, Cia. Tranvías de La Coruña, S.A., SISTEMAS OLTON, S.L. or any of the companies and entities involved in the official iTranvías app.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file itranvias_api-0.1.1.tar.gz.
File metadata
- Download URL: itranvias_api-0.1.1.tar.gz
- Upload date:
- Size: 23.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
754e7a7f6c9a1d9d6d111397020d266c0e562ae00b3c257369bb99910f649202
|
|
| MD5 |
5d2108241dd634c4a88eafa103cb6d4d
|
|
| BLAKE2b-256 |
222ac09177f7f82e92855db0b615370a472606eb499d822b9b3f96532646b213
|
Provenance
The following attestation bundles were made for itranvias_api-0.1.1.tar.gz:
Publisher:
publish-to-test-pypi.yml on peprolinbot/itranvias_api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
itranvias_api-0.1.1.tar.gz -
Subject digest:
754e7a7f6c9a1d9d6d111397020d266c0e562ae00b3c257369bb99910f649202 - Sigstore transparency entry: 200705190
- Sigstore integration time:
-
Permalink:
peprolinbot/itranvias_api@8e649812a20f6d1e1e2ffc296b6563fb562c3c7e -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/peprolinbot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-test-pypi.yml@8e649812a20f6d1e1e2ffc296b6563fb562c3c7e -
Trigger Event:
push
-
Statement type:
File details
Details for the file itranvias_api-0.1.1-py3-none-any.whl.
File metadata
- Download URL: itranvias_api-0.1.1-py3-none-any.whl
- Upload date:
- Size: 25.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3568e315872377248403f4913a0a5141092277962f9d924acea9960eea5eed0
|
|
| MD5 |
4b9a08007a6858eea8c32dfcc36dedcf
|
|
| BLAKE2b-256 |
2d2219138afdc452ce3c808e9f6cdd53164b25c61ed22c5c7a001668386adf22
|
Provenance
The following attestation bundles were made for itranvias_api-0.1.1-py3-none-any.whl:
Publisher:
publish-to-test-pypi.yml on peprolinbot/itranvias_api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
itranvias_api-0.1.1-py3-none-any.whl -
Subject digest:
b3568e315872377248403f4913a0a5141092277962f9d924acea9960eea5eed0 - Sigstore transparency entry: 200705194
- Sigstore integration time:
-
Permalink:
peprolinbot/itranvias_api@8e649812a20f6d1e1e2ffc296b6563fb562c3c7e -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/peprolinbot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-test-pypi.yml@8e649812a20f6d1e1e2ffc296b6563fb562c3c7e -
Trigger Event:
push
-
Statement type: