Git Product home page Git Product logo

expresslanes-api's People

Contributors

3vivekb avatar kyle-falconer avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

markrey marsxul

expresslanes-api's Issues

Sockets

Make use of Socket.io or similar.

Refine and standardize the API

The format of the data that comes in and out of the API is currently dictated by the columns in the table that has the data. This means that if other agencies (who might not have the same column names) try to use this, the format of the data will be different for each agency, making it complex for any client that wants to consume the data.

A standard format for the data should be determined such that it will work for most or all agencies who use Express Lanes and wish to publish the toll data.

This data standard should at minimum:

  • allow each toll corridor to be identified by the agency who controls it
  • provide a unique ID for each toll corridor
  • provide the time at which the toll was updated
  • provide the current price of the toll
  • allow for an arbitrary message to be displayed
  • secure the publication of toll data using keys

The API should at minimum:

  • allow for multiple agencies to publish data for multiple tolls
  • provide a way to get the toll data for all or some of the toll corridors
  • support for HTTP and HTTPS
  • support both AJAX and WebSockets

Protect against malicious `PUT`s

Validate against public/private keys or JSON Web Tokens to verify the data pushed to this proxy/API comes from a trusted source.

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.