[Shared bikes] search stations by their name

Publié le 6 mars 2017

Voir la réutilisation

Transport for Luxembourg

Transport for Luxembourg is a project initiated by Thierry DEGELING and Daniel DUTON. As a proof of concept, they made a proxy API for Mobiliteit.lu at the Game of Code hackathon. After being awarded 3rd best team at the Hackathon, Digital Lëtzebuerg has given ION Network Solutions (employer of…

31 réutilisations

  • bike
  • shared
  • tfl

Informations

Type
API
Thématique
Autres
ID
58bd3ce3111e9b2c2a2da4e4

Publication

Intégrer sur votre site

URL stable

Description

Get all shared bike points as geojson.

Documentation: https://docs.api.tfl.lu/v1/en/RESTAPIs/BikePoint/search.html

Here's an example:

{
    "type": "FeatureCollection",
    "features": [{
        "type": "Feature",
        "geometry": {
            "type": "Point",
            "coordinates": [5.98276, 49.49473]
        },
        "properties": {
            "id": "velok:1",
            "open": true,
            "name": "Avenue de la Gare",
            "city": "Esch-sur-Alzette",
            "address": "Coin Rue de l’Alzette",
            "photo": "https://webservice.velok.lu/images/photos/1.jpg",
            "docks": 7,
            "available_bikes": 4,
            "available_ebikes": 0,
            "available_docks": 3,
            "last_update": null,
            "dock_status": [{
                "status": "occupied",
                "bikeType": "manual"
            }, {
                "status": "free",
                "bikeType": null
            }, {
                "status": "occupied",
                "bikeType": "manual"
            }, {
                "status": "free",
                "bikeType": null
            }, {
                "status": "occupied",
                "bikeType": "manual"
            }, {
                "status": "free",
                "bikeType": null
            }, {
                "status": "occupied",
                "bikeType": "manual"
            }]
        }
    }, {
        "type": "Feature",
        "geometry": {
            "type": "Point",
            "coordinates": [5.981152, 49.494103]
        },
        "properties": {
            "id": "velok:3",
            "open": true,
            "name": "Rue de la Libération",
            "city": "Esch-sur-Alzette",
            "address": "Coin Rue de l’Alzette",
            "photo": "https://webservice.velok.lu/images/photos/3.jpg",
            "docks": 9,
            "available_bikes": 4,
            "available_ebikes": 0,
            "available_docks": 5,
            "last_update": null,
            "dock_status": [{
                "status": "free",
                "bikeType": null
            }, {
                "status": "free",
                "bikeType": null
            }, {
                "status": "free",
                "bikeType": null
            }, {
                "status": "occupied",
                "bikeType": "manual"
            }, {
                "status": "free",
                "bikeType": null
            }, {
                "status": "free",
                "bikeType": null
            }, {
                "status": "occupied",
                "bikeType": "manual"
            }, {
                "status": "occupied",
                "bikeType": "manual"
            }, {
                "status": "occupied",
                "bikeType": "manual"
            }]
        }
    }, {
        ...
    }]
}

Jeux de données utilisés 1

Discussion entre l'organisation et la communauté à propos de cette réutilisation.

Plus de réutilisations

Découvrez davantage de réutilisations.