summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--services/Makefile2
-rw-r--r--services/datapublica.json29
-rw-r--r--services/datapublica.pngbin0 -> 5837 bytes
3 files changed, 31 insertions, 0 deletions
diff --git a/services/Makefile b/services/Makefile
index 31f3bb4..6fc3b2b 100644
--- a/services/Makefile
+++ b/services/Makefile
@@ -8,6 +8,7 @@ check: spore_validation.rx
@$(VALIDATOR) amazons3.json
@$(VALIDATOR) backtweet.json
@$(VALIDATOR) backtype.json
+ @$(VALIDATOR) datapublica.json
@$(VALIDATOR) github.json
@$(VALIDATOR) googleoauth.json
@$(VALIDATOR) googleoauth2.json
@@ -28,6 +29,7 @@ png: \
amazons3.png \
backtweet.png \
backtype.png \
+ datapublica.png \
github.png \
googleoauth.png \
googleoauth2.png \
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/"
+ }
+}
diff --git a/services/datapublica.png b/services/datapublica.png
new file mode 100644
index 0000000..772c29d
--- /dev/null
+++ b/services/datapublica.png
Binary files differ