Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soh335/hubot-google-calendar
hubot scripts for accesing google calendar
https://github.com/soh335/hubot-google-calendar
Last synced: about 1 month ago
JSON representation
hubot scripts for accesing google calendar
- Host: GitHub
- URL: https://github.com/soh335/hubot-google-calendar
- Owner: soh335
- Created: 2014-07-04T03:27:19.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-27T17:06:01.000Z (over 8 years ago)
- Last Synced: 2024-09-06T06:50:57.374Z (3 months ago)
- Language: CoffeeScript
- Homepage:
- Size: 6.84 KB
- Stars: 9
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hubot-google-calendar
hubot scripts for accesing google calendar
## configuration
hubot-google-calendar authorized by google service account. So check these steps for creating it.
* https://developers.google.com/accounts/docs/OAuth2ServiceAccount?hl=ja
* https://github.com/extrabacon/google-oauth-jwt#creating-a-service-account-using-the-google-developers-consoleAnd service account is created, allow to access your google caelndar form service account.
## enviroment variable
* HUBOT_GOOGLE_CALENDAR_EMAIL
* email of google service account
* HUBOT_GOOGLE_CALENDAR_KEYFILE
* keyfile of google service account## usage
### hubot calendar
show today events.
```
Hubot> Hubot: calendar
Hubot> [email protected]
2014-01-01 ~ 2014-01-02 foo
2014-01-01T00:00:00+09:00 ~ 2014-01-02T01:00:00+09:00 bar
```### hubot calendar (today|tomorrow)
show today or tomorrow events.
```
Hubot> Hubot: calendar tomorrow
Hubot> [email protected]
2014-01-02 ~ 2014-01-03 foo
2014-01-02T00:00:00+09:00 ~ 2014-01-03T01:00:00+09:00 bar
```