1.1.1 • Published 1 year ago

circulus-berkel v1.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Circulus Berkel API Client

NPM Version

This Node.js module is a wrapper around the https://www.circulus.nl website, and can retrieve a JSON and iCal feed when providing a Zipcode + Number.

Installation

$ npm i circulus-berkel

Usage

As Webserver

$ circulus-berkel
Server listening on http://0.0.0.0:3000
GET http://localhost:3000/?zipCode=7411KT&number=1&format=ical
GET http://localhost:3000/?zipCode=7411KT&number=1&format=json

As Dependency

import CirculusBerkel from 'circulus-berkel';

const circulusBerkel = new CirculusBerkel({
  zipCode: '7411KT',
  number: '1',
});

const iCalFeed = await circulusBerkel.getIcalFeed();
console.log(iCalFeed);

const jsonFeed = await circulusBerkel.getJsonFeed();
console.log(jsonFeed);
1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago