A service for ZenIRCBot that pulls instant weather forecasts from the Dark Sky API. Sends a message to an IRC channel when it will start or stop raining.
-
Clone the repo as 'darksky' into the services folder
$ git clone https://github.com/jyaganeh/ZenIRCBot-DarkSky.git darksky
-
Copy config.json.dist to config.json and set your Dark Sky API Key, location, and the notification channel.
-
Install Dark Sky client
$ npm install darksky
-
Send a message to the bot: 'restart darksky/darksky.js'