A wrapper class extracts the availability status of a particular charge point given a unique ChargePoint.com ID
- NodeJS
- CoffeeScript
npm install charge-point-scraper
# Import class
ChargePointScraper = require 'charge-point-scraper'
# Instantiate
cp = new ChargePointScraper()
# To get status
cp.getStatus '18193', (err, status)->
# 1 — when is available
# 0 - when is in use
console.log status