Skip to main content

Python api wrapper for INVG busstop information

Project description

INVG (INgolstädter VerkehrsGesellschaft) api wrapper

This is a reverse engineering of the INVG realtime bus information api. It is using a mix of api and web crawler to get all its information.

Functions

get_station_data(str)

this function takes a string of a bus stop's name and returns the Busstation shortcode aswell as the Busstation ID.

get_timetable(str, str)

this function takes the Busstation shortcode and Busstation ID and returns the timetale as JSON array.

get_timtable_by_name(str)

this function merges the two above and takes the Name and returns the JSON array.

IF you run this from the commandline it will Visualize the requested Station Data.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

invg-0.0.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

invg-0.0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file invg-0.0.1.tar.gz.

File metadata

  • Download URL: invg-0.0.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for invg-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7e30f232dab0390adda9b2f8f3428824a56a8edd60eb6986d40fadfd7c212cad
MD5 ebf874f8b999c7fdc9440a68ee1ce529
BLAKE2b-256 46f1f8f10f18229041fe67fbaccec10677733b28182951eee7259b3687ac0b2b

See more details on using hashes here.

File details

Details for the file invg-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: invg-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for invg-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b160f06089db47b6d07d860762720275454da5e860e948221d31bebe99a0b225
MD5 bf4acbcfd4d199e660124045333f6475
BLAKE2b-256 b9e2ef888bcf3cc2db592efdd66ad47acbae72e91cce64497e31479c259cb7f7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page