這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
linux:monitor:zabbix_alert [2014/03/23 17:43] ali88 |
linux:monitor:zabbix_alert [2014/03/23 18:00] (目前版本) ali88 |
||
---|---|---|---|
行 8: | 行 8: | ||
#easy_install rfc3339 | #easy_install rfc3339 | ||
#easy_install google-api-python-client</code> | #easy_install google-api-python-client</code> | ||
- | {{:linux:monitor:google_calendar.png?300|}}=====申請使用Google API金鑰===== | + | {{:linux:monitor:google_calendar.png?300|}} |
+ | =====申請使用Google API金鑰===== | ||
因為是使用Google API,需要到 https://code.google.com/apis/console/ (使用google帳號登入)申請API金鑰。 | 因為是使用Google API,需要到 https://code.google.com/apis/console/ (使用google帳號登入)申請API金鑰。 | ||
- 先到 service 開啟 calendar api (舊版控制台){{:linux:monitor:api_services.png?700|}} | - 先到 service 開啟 calendar api (舊版控制台){{:linux:monitor:api_services.png?700|}} | ||
行 99: | 行 100: | ||
* 送出events 後會print event id ,就完成了。{{:linux:monitor:api_cmd3.png?700|}}{{:linux:monitor:google_calendar.png?700|}} | * 送出events 後會print event id ,就完成了。{{:linux:monitor:api_cmd3.png?700|}}{{:linux:monitor:google_calendar.png?700|}} | ||
- | ===參考資料=== | + | ======參考資料====== |
- | * 無序列表項目[[http://jerry2yang.wordpress.com/2012/02/06/ubuntu-install-google-calendar-api-with-python/|Ubuntu install google calendar api with python]] | + | * [[http://jerry2yang.wordpress.com/2012/02/06/ubuntu-install-google-calendar-api-with-python/|Ubuntu install google calendar api with python]] |
- | [[Python 套件管理程式簡介|http://www.openfoundry.org/tw/tech-column/8536-introduction-of-python-extension-management-tools]] | + | * [[https://www.evernote.com/shard/s112/sh/0db8e94a-8c19-4272-b1b8-392c4a623bb6/063809b3590dd7ea095cc0fd87a95a27?noteKey=063809b3590dd7ea095cc0fd87a95a27¬eGuid=0db8e94a-8c19-4272-b1b8-392c4a623bb6|JasonW同事-使用GOOGLE 日曆功能 發送SMS]] |
- | [[Using OAuth 2.0 to Access Google APIs|https://developers.google.com/accounts/docs/OAuth2?hl=zh-TW&csw=1#ClientLibraries]] | + | * [[http://www.openfoundry.org/tw/tech-column/8536-introduction-of-python-extension-management-tools|Python 套件管理程式簡介]] |
- | [[Using OAuth 2.0 for Installed Applications|https://developers.google.com/accounts/docs/OAuth2InstalledApp?hl=zh-tw#choosingredirecturi]] | + | |
- | [[Google OAuth 2.0 存取 Gmail - 以 PHP5 為例 |http://chimerhapsody.blogspot.tw/2013/02/google-oauth-20-gmail-php5.html]] | + | |
- | [[使用Google OAuth 2.0 存取Google API|http://blog.kenyang.net/2012/09/google-oauth-20-google-api.html]] | + | |
- | [[Google APIs Client Library for PHP|https://code.google.com/p/google-api-php-client/]] | + |