summaryrefslogtreecommitdiff
path: root/services/geonames.json
diff options
context:
space:
mode:
Diffstat (limited to 'services/geonames.json')
-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"]
+ }
+}
+}