1.5.1 • Published 7 years ago

calfire v1.5.1

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

CalFire

An unofficial CalFire incident scraper/parser.

Installation

npm install --save calfire

Usage

// node.js
'use strict';
const calfire = require('calfire');

calfire.rss().then(console.log);

// returns a list of active incidents;

calfire.currentIncidents().then(console.log);

// returns a list of incidents from the first page from /current_incidents

calfire.currentIncidents({page: 3}).then(console.log);

// gets incidents from the third page of results

calfire.get(12345).then(console.log);

// gets an incident from the ID provided.

License

See LICENSE.txt

1.5.1

7 years ago

1.5.0

7 years ago

1.4.1

7 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago