1.0.0 • Published 4 years ago
@themobilitybox/themobilitybox v1.0.0
@themobilitybox/themobilitybox
JavaScript Library to Access The Mobilitybox.
Install
$ npm install @themobilitybox/themobilitybox
Usage
// Use your API key to validate the requests
const { Mobilitybox } = require('@themobilitybox/themobilitybox');
const api = new Mobilitybox("YOUR_API_KEY");
api.find_stations_by_name("Alexanderplatz", function (stations) {
stations.forEach(function(station) {
console.log(station.name);
});
});
1.0.0
4 years ago