Skip to content

sanemat/hubot-53cal-jp

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published