Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add Vélib' (Paris shared bike system)

  • Loading branch information...
commit e144849350fe72ff7453ddc92cf9f810dfdef96c 1 parent ff10113
@dolmen authored
Showing with 24 additions and 0 deletions.
  1. +2 −0  services/Makefile
  2. +22 −0 services/velib.json
View
2  services/Makefile
@@ -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
22 services/velib.json
@@ -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" ]
+}
Please sign in to comment.
Something went wrong with that request. Please try again.