#real-time #metro #information #unofficial #client #tyne #wear

cadmium-yellow

A client library for the unofficial Nexus Tyne and Wear Metro real time information API

3 stable releases

2024.3.2 Mar 22, 2024
2024.3.1 Mar 21, 2024
2024.3.0 Mar 20, 2024

#856 in Web programming

Download history 72/week @ 2024-03-14 337/week @ 2024-03-21 42/week @ 2024-03-28 25/week @ 2024-04-04

67 downloads per month
Used in metty

MIT license

17KB
255 lines

cadmium-yellow

CI Crates.io Version docs.rs

A client library for the unofficial Nexus Tyne and Wear Metro real time information API.

Usage notes

Keep in mind that this API is for the Pop app and not a public API. When using it, poll the API in a manner that you would expect to come from the Pop app, i.e. quite sporadic, mostly no traffic apart from a few requests over a few minutes.

Things you could use this API for:

  • A better mobile app
  • A command line tool
  • Home automation integration, tied into e.g. a "leaving home" routine

Things you bloody well should not use this API for:

  • A departure board for your living room
  • A widget that tells you when to leave to catch the next Metro (regardless of if you actually have to leave or not)
  • Anything else that wastes requests collecting data that is of zero practical use to anyone

Dependencies

~5–20MB
~277K SLoC