summaryrefslogtreecommitdiff
path: root/services/googlemaps/geocoding.json
diff options
context:
space:
mode:
Diffstat (limited to 'services/googlemaps/geocoding.json')
-rw-r--r--services/googlemaps/geocoding.json40
1 files changed, 40 insertions, 0 deletions
diff --git a/services/googlemaps/geocoding.json b/services/googlemaps/geocoding.json
new file mode 100644
index 0000000..9ae201f
--- /dev/null
+++ b/services/googlemaps/geocoding.json
@@ -0,0 +1,40 @@
+{
+ "version" : "0.1",
+ "base_url" : "http://maps.googleapis.com/maps/api",
+ "methods" : {
+ "geocode" : {
+ "path" : "/geocode/:format",
+ "method" : "GET",
+ "required_params" : [
+ "format",
+ "address",
+ "sensor"
+ ],
+ "optional_params" : [
+ "bounds",
+ "region",
+ "language"
+ ]
+ },
+ "address_lookup" : {
+ "path" : "/geocode/:format",
+ "method" : "GET",
+ "required_params" : [
+ "format",
+ "latlng",
+ "sensor"
+ ],
+ "optional_params" : [
+ "bounds",
+ "region",
+ "language"
+ ]
+ }
+ },
+ "authority" : "http://github.com/SPORE",
+ "name" : "Google Maps",
+ "meta" : {
+ "documentation" : "http://code.google.com/apis/maps/documentation/geocoding/",
+ "module" : "Geocoding"
+ }
+}