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

goibon/dirble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.