canada-weather
v1.1.20
Published
Canada Weather Scraper
Downloads
26
Maintainers
Readme
Canada Weather Scraper
Retrieves data from the Government of Canada Open Data Weather API & writes JSON data to disk, allowing for file watchers to pick up the data.
This scraper will create warnings.json
& weather.json
in a target directory asynchronously.
Arguments
city / c (Ottawa
)
Name of a Canadian city.
directory / d (./
)
Directory to write data to.
uid / u
UID to run process as.
Examples
npm global module
$ canada-weather -d ~/Desktop -c toronto
Cloned
$ node index.js -d ~/Desktop -c toronto
Refined Search
$ canada-weather -d ~/Desktop -c "ottawa (richmond"
Requirements
Requires node.js with ES6 syntax support (^5.5.x).