Skip to content

Ruby app to experiment with Transport for NSW (TfNSW) Open Data API datasets

License

Notifications You must be signed in to change notification settings

ltfschoen/opendata-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenData API

  • About:

    • Ruby application with HTTP(S) Session to re-use across multiple requests that are configured to use Transport for NSW Open Data APIs. Currently configured to use:
      • Traffic Volume Counts API
      • Trip Planner API
  • Quick Start

    • Obtain and Setup API Keys from OpenData API
      • Register with OpenData API
      • Create App
      • Select API
      • Obtain associated API Keys
      • Add API Keys to .env file (i.e. OPENDATA_API_KEY=<INSERT_API_KEY>)
      • Add or Update a module in ./config/config.rb with the API configuration
      • Import the API configuration module into implementation code (i.e. ./src/main.rb)
    • Install dependencies
      bundle install
      
    • Run
      bundle exec ruby ./src/main.rb
      
  • Setup Log

About

Ruby app to experiment with Transport for NSW (TfNSW) Open Data API datasets

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages