Skip to content

iancl/DistanceAPI-Proxy

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