Skip to content
This repository was archived by the owner on Feb 15, 2023. It is now read-only.

Latest commit

 

History

History
28 lines (20 loc) · 805 Bytes

File metadata and controls

28 lines (20 loc) · 805 Bytes

JavaScript Style Guide

Dirble

A NodeJS wrapper for the dirble API.

Usage

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
})

Contributing

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.