From 979a4e0686d753019dca7d18611a9cd862d20eb7 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Mon, 6 Jun 2011 19:13:27 +0200 Subject: add Google Maps services --- services/googlemaps/directions.json | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 services/googlemaps/directions.json (limited to 'services/googlemaps/directions.json') diff --git a/services/googlemaps/directions.json b/services/googlemaps/directions.json new file mode 100644 index 0000000..2d1d53b --- /dev/null +++ b/services/googlemaps/directions.json @@ -0,0 +1,31 @@ +{ + "version" : "0.1", + "base_url" : "http://maps.googleapis.com/maps/api", + "methods" : { + "directions" : { + "path" : "/directions/:format", + "method" : "GET", + "required_params" : [ + "format", + "origin", + "destination", + "sensor" + ], + "optional_params" : [ + "mode", + "waypoints", + "alternatives", + "avoid", + "units", + "region", + "language" + ] + } + }, + "authority" : "http://github.com/SPORE", + "name" : "Google Maps", + "meta" : { + "documentation" : "http://code.google.com/apis/maps/documentation/directions/", + "module" : "Directions" + } +} -- cgit v1.2.3