[Shared bikes] search stations by their name

Published on March 6, 2017

See the reuse

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 reuses

  • bike
  • shared
  • tfl

Informations

Type
API
Topic
Others
ID
58bd3ce3111e9b2c2a2da4e4

Publication

Embed

Permalink

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"
            }]
        }
    }, {
        ...
    }]
}

Used datasets 1

Discussion between the organization and the community about this reuse.

More reuses

Discover more reuses.