Git Product home page Git Product logo

simplectabus's Introduction

Simple CTA Bus Tracker

This is a simple bus tracker you can add bus routes and stop ids through the GUI. Stop IDs are gleaned from the getStops api at the moment. Javascript refreshes bus times through ajax call once a minute. Run ‘rake db:seed` to create a blank API Key setting and you’ll need your own Bus Tracker API Key to use this which you set at ‘/settings’. If you wanna modify this to do something sexier like use better environment variables or yaml, be my guest.

That’s about it.

www.transitchicago.com/assets/1/developer_center/BusTime_Developer_API_Guide.pdf for more info.

Changelog

v1.2.4 - More error handling.

v1.2.3 - Fixed a case where no bus times were available for a stop and ajax broke.

v1.2.2 - Various code improvements.

v1.2.1 - Added some error handling when times couldn’t get retrieved.

v1.2 - Fixed a bug where times retrieved at wasn’t updating when ajax call occurred.

v1.1 - Bustimes update with ajax call now. Each route has an easy edit button at the top of each list of times.

v1.0 - It works. Can add an api key and add/remove routes through in app settings.

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.