about summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2011-04-24 18:10:34 +0200
committerfranck cuny <franck@lumberjaph.net>2011-04-24 18:10:59 +0200
commite751394549cc740579ca1a11261f6aa19651673a (patch)
treed41c29ad13f016bef14e6761665cd1359204d9df
parentadd amazon3s (diff)
downloadapi-description-e751394549cc740579ca1a11261f6aa19651673a.tar.gz
start geo API
-rw-r--r--services/geonames.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/services/geonames.json b/services/geonames.json
new file mode 100644
index 0000000..7301bcc
--- /dev/null
+++ b/services/geonames.json
@@ -0,0 +1,18 @@
+{
+"base_url": "http://api.geonames.org",
+"version": "0.1",
+"name": "GeoNames",
+"authority": "GITHUB:franckcuny",
+"meta": {
+  "documentation": "http://www.geonames.org/export/web-services.html",
+},
+"methods": {
+  "search": {
+    "method": "GET",
+    "path" : "/searchJSON",
+    "expected_status": ["200"],
+    "optional_params": ["maxRows"],
+    "required_params": ["q"]
+  }
+}
+}