pyAMT
An unofficial python API wrapper for AMT's (public transportation for my city) undocumented API. Endpoints were obtained examining the official android application, I am not in any way affiliated with AMT.
Installation
Install with pip3 install pyAMT
Usage
from pyAMT import AMT
amt = AMT()
# get next departures from a stop
amt.departures("0360")
# get information about a line stop
amt.stop("0395")
#get information about a line
amt.line("15")
# add "_1" for Start->End and "_2" for End->Start
amt.lineStops("015-00_1")
# get detailed information about a line (including timetables)
amt.linesDetailedInfo("15","13","03","2022")
Release files for pyAMT 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyAMT-0.0.3.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyAMT-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / pyAMT-0.0.3.tar.gz
| Download URL | pyAMT-0.0.3.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac8296f8819ce1bb0b86ae1673de2bb3de25489be105b9cc3cbda24122e11655
|
|
BLAKE2b-256 checksum How to use checksums |
74195a8c4b8d2df72ec70272ff4bc4e8db861f5feb6dcc63c690eb98c2336673
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
|
Release files / pyAMT-0.0.3-py3-none-any.whl
| Download URL | pyAMT-0.0.3-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8adace59a49dab6defd15c6c20c4edcac28c8908b1c43e12a43043bef06df221
|
|
BLAKE2b-256 checksum How to use checksums |
8be708ad217dd613b2a14fc4642aaaacf51872e868314a85e1187892c5291dca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
|