summaryrefslogtreecommitdiff
path: root/services/datapublica.json
diff options
context:
space:
mode:
Diffstat (limited to 'services/datapublica.json')
-rw-r--r--services/datapublica.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/services/datapublica.json b/services/datapublica.json
new file mode 100644
index 0000000..fb560a0
--- /dev/null
+++ b/services/datapublica.json
@@ -0,0 +1,29 @@
+{
+ "name" : "DataPublica",
+ "version" : "1",
+ "base_url" : "http://api.data-publica.com",
+ "methods" : {
+ "query" : {
+ "path" : "/v1/:reference/:tablename/content",
+ "method" : "GET",
+ "required_params" : [
+ "reference",
+ "tablename",
+ "key"
+ ],
+ "optional_params" : [
+ "format",
+ "limit",
+ "offset",
+ "filter"
+ ]
+ }
+ },
+ "authentication" : true,
+ "expected_status" : [ 200, 400, 404 ],
+ "formats" : [ "json", "csv", "excel" ],
+ "authority" : "http://github.com/SPORE",
+ "meta" : {
+ "documentation" : "http://www.data-publica.com/content/api/"
+ }
+}