public class JCDecauxBikeRentalDataSource extends GenericJsonBikeRentalDataSource
BikeRentalDataSource| Constructor and Description |
|---|
JCDecauxBikeRentalDataSource() |
| Modifier and Type | Method and Description |
|---|---|
BikeRentalStation |
makeStation(com.fasterxml.jackson.databind.JsonNode node)
JSON JCDecaux API v1 format:
|
configure, getStations, getUrl, setUrl, toString, updatepublic BikeRentalStation makeStation(com.fasterxml.jackson.databind.JsonNode node)
[ {
"number" : 94,
"name" : "00094-PETIT PORT",
"address" : "PETIT PORT - BD DU PETIT PORT",
"position" : {
"lat" : 47.243263914975486,
"lng" : -1.556344610167984 },
"banking" : true,
"bonus" : false,
"status" : "OPEN",
"bike_stands" : 20,
"available_bike_stands" : 1,
"available_bikes" : 19,
"last_update" : 1368611914000
},
...
]
makeStation in class GenericJsonBikeRentalDataSourceCopyright © 2018. All rights reserved.