A NodeJS wrapper for the dirble API.
Install using npm install --save dirble
Then just include it using your dirble API key.
// Get your api key from 'https://dirble.com/developer/'
const dirble = require('dirble')(API_KEY)
Every method returns a promise so you can use them like this:
dirble.getStations()
.then( (response) => {
// Parse JSON response
})
Contributions are always welcome! If you have any questions or comments feel free to open up an issue or even better, create a pull request.