Permalink
Browse files

Add Vélib' (Paris shared bike system)

  • Loading branch information...
1 parent ff10113 commit e144849350fe72ff7453ddc92cf9f810dfdef96c @dolmen committed Nov 17, 2011
Showing with 24 additions and 0 deletions.
  1. +2 −0 services/Makefile
  2. +22 −0 services/velib.json
View
@@ -18,6 +18,7 @@ check: spore_validation.rx
@$(VALIDATOR) ohloh.json
@$(VALIDATOR) twitter.json
@$(VALIDATOR) intervals.json
+ @$(VALIDATOR) velib.json
test: check
@@ -38,6 +39,7 @@ png: \
ohloh.png \
intervals.png \
indextank.png \
+ velib.png \
twitter.png
@make -C github png
@make -C googlemaps png
View
@@ -0,0 +1,22 @@
+{
+ "name": "Vélib'",
+ "authority": "GITHUB:dolmen",
+ "base_url": "http://www.velib.paris.fr/",
+ "version": "1.0",
+ "methods": {
+ "list": {
+ "path": "/service/carto",
+ "method": "GET",
+ "expected_status": [200]
+ },
+ "details": {
+ "path": "/service/stationdetails/:station",
+ "method": "GET",
+ "required_params": [
+ "station"
+ ],
+ "expected_status": [200]
+ }
+ },
+ "formats": [ "xml" ]
+}

0 comments on commit e144849

Please sign in to comment.