diff options
author | franck cuny <franck@lumberjaph.net> | 2011-05-05 17:35:13 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2011-05-05 17:35:13 +0200 |
commit | e68c8681c7d1ec7e287aeb5ebd99dca3b82f2a2a (patch) | |
tree | 36a45ffe44dde09b0dd4da6227dc41804f41ebbe | |
parent | add opencalais spec (diff) | |
parent | start geo API (diff) | |
download | api-description-e68c8681c7d1ec7e287aeb5ebd99dca3b82f2a2a.tar.gz |
Merge branch 'master' of github.com:SPORE/api-description
* 'master' of github.com:SPORE/api-description: start geo API
-rw-r--r-- | services/geonames.json | 18 |
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"] + } +} +} |