No description, website, or topics provided.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
script
src
test
.gitignore
.travis.yml
Gruntfile.js
README.md
index.coffee
package.json

README.md

hubot-53cal-jp

NPM version Build Status Dependency Status

Check the day taking out the trash JP.

See src/53cal-jp.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-53cal-jp --save

Then add hubot-53cal-jp to your external-scripts.json:

["hubot-53cal-jp"]

Configuration

You set environmental variables(GOMICAL_JP_CITY, GOMICAL_JP_AREA) like below:

heroku config:set GOMICAL_JP_CITY=1130104 GOMICAL_JP_AREA=1130104154

You can get city and area from here

You set GOMICAL_JP_CRON_JOB, GOMICAL_JP_CRON_ROOM like below:

heroku config:set GOMICAL_JP_CRON_JOB="0 0 19 * * *" GOMICAL_JP_CRON_ROOM="#general"

Sample Interaction

user1>> hubot ゴミ 今日
hubot>> 2014-06-10 Tuesday の[南大井6丁目18番地(大森住宅)以外]は燃やすごみです。
hubot>> http://www.53cal.jp/areacalendar/?city=1130104&area=1130104154&yy=2014&mm=6