Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

hubot-53cal-jp

0.2.1 • Public • Published

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

Install

npm i hubot-53cal-jp

DownloadsWeekly Downloads

1

Version

0.2.1

License

MIT

Last publish

Collaborators

  • avatar