I made a thing to make your phone go 'pling' (when your train goes 'whatever')

I made a thing: https://pypi.python.org/pypi/nsapi.

You can use it with my other thing at https://github.com/aquatix/ns-notifications to get notified when your train is late, or to know when you can do a sprint upstairs on the next station because your otherwise impossible transfer is delayed a bit and you can catch it now.

See the settings_example.py and the ns-notifications README to configure.

Enjoy!

PS: yeah, it makes use of the official Nationale Spoorwegen (NS/Dutch Railways) API, and you need to request a key with them to use it. That's easy though and worth it if you like timely notifications.

  • Michiel Scholten
  • Home
  • 🕔

Add comment

You need to provide a valid e-mail address to comment here, but it will not be displayed on this website. HTML will be escaped, so you won't be able to add links. Post the URL instead. Line breaks will be converted to breaks.

Name

E-mail address


Mail me when someone else comments too
Your address won't be shown in your comment

WWW


Leave empty if you don't want to provide a url

Are you a spammer (yes/no)?

Be sure to save your comment after you've previewed it!