Giter Site home page Giter Site logo

404gamernotfound / scriptable-belgian-public-transport-information Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2 KB

This is a Scriptable widget that displays the next five departures from a specified stop for De Lijn, the public transport company in Flanders, Belgium.

License: MIT License

JavaScript 100.00%

scriptable-belgian-public-transport-information's Introduction

De Lijn Departure Times Widget

This is a Scriptable widget that displays the next five departures from a specified stop for De Lijn, the public transport company in Flanders, Belgium.

Setup

To use this widget, you will need to replace the entiteitnummer, haltenummer, and apiKey with your specific information.

const entiteitnummer = 3; // change it to your entity number
const haltenummer = 306280; // change it to your stop number
const apiKey = "API_KEY"; // change it to your De Lijn API key

Installation

  1. Install the Scriptable app on your iOS device.
  2. Copy the script into a new Scriptable script.
  3. Configure the script with your specific entiteitnummer, haltenummer, and apiKey.
  4. Run the script to check if it's working properly.
  5. Add a new Scriptable widget to your home screen.
  6. Edit the widget and select the script you just created.

Usage

The widget will display the line number, destination, and time until departure in minutes for the next five buses.

Please note that the API key and stop information must be kept confidential to prevent misuse.

Contributing

Contributions are welcome. Please open an issue first to discuss what you would like to change.

License

MIT

scriptable-belgian-public-transport-information's People

Watchers

Tony Brüser avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.