Git Product home page Git Product logo

scc-proxy's Introduction

SCC Proxy

A simple proxy server that allows us to control access to the Google Maps API.

Installation

$ git clone [email protected]:smartchicago/scc-proxy.git
$ cd scc-proxy
$ gem install bundler
$ bundle install
$ rake db:setup
$ cp config/application.yml.example config/application.yml

Populate the application.yml file with config settings. Values can be found via heroku config.

bundle exec unicorn

Navigate to http://localhost:8080

Using the Proxy

In order to use the proxy, you must have an API key. Please contact one of the team members if you require access.

Endpoints

geocode

Proxies access to the Geocoding API.

http://services.smartchicagoapps.org/v1/maps/geocode?address=3324+N+California+Ave%2C+Chicago%2C+IL+60618&key=1234567890

distancematrix

Proxies access to the Distance Matrix API.

http://services.smartchicagoapps.org/v1/maps/distancematrix?origins=2401+N+Lake+Shore+Dr,+Chicago,+IL,+USA&destinations=50+W+Washington+St,+Chicago,+IL,+USA&sensor=false&mode=bicycling&units=imperial&key=1234567890

Team

scc-proxy's People

Contributors

srobbin avatar

Stargazers

Max Pleaner avatar

Watchers

 avatar Daniel X. O'Neil avatar James Cloos avatar Christopher Whitaker avatar SmartKyla_ avatar Sonja Marziano 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.