Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

A proxy so you can make get Distance DATA from the google distance API

Notifications You must be signed in to change notification settings

iancl/DistanceAPI-Proxy

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Distance API Proxy

I created this so you can use it on your server and get data from the google api without having to do a crossdomain request from your client.

Version

1.0

How to use:

Just make an ajax call to the service and pass the necessary params:

GET Request Params structure

// urlEnconded
origins=1.23,-0.98&destinations=4.123,9.093&mode=driving&language=en&type=json&apiKey=12345

// definition
origins = lat,long; REQUIRED
destinations = lat,long; REQUIRED
mode = driving|walking|bicycling; REQUIRED
language = es|en|fr; REQUIRED
apiKey = google api Key; OPTIONAL
type = json|xml; OPTIONAL, DEFAULT is json

License

Created By Ian Calderon.

         

About

A proxy so you can make get Distance DATA from the google distance API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.