An unofficial wrapper for AMT Genova undocumented API
Project description
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")
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
pyAMT-0.0.3.tar.gz
(4.3 kB
view details)
Built Distribution
pyAMT-0.0.3-py3-none-any.whl
(4.5 kB
view details)
File details
Details for the file pyAMT-0.0.3.tar.gz
.
File metadata
- Download URL: pyAMT-0.0.3.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac8296f8819ce1bb0b86ae1673de2bb3de25489be105b9cc3cbda24122e11655 |
|
MD5 | e8dec509da982dabd48df40366bce800 |
|
BLAKE2b-256 | 74195a8c4b8d2df72ec70272ff4bc4e8db861f5feb6dcc63c690eb98c2336673 |
File details
Details for the file pyAMT-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: pyAMT-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8adace59a49dab6defd15c6c20c4edcac28c8908b1c43e12a43043bef06df221 |
|
MD5 | 9bf38b6f927fe5bee37991a1f68ac3d4 |
|
BLAKE2b-256 | 8be708ad217dd613b2a14fc4642aaaacf51872e868314a85e1187892c5291dca |