googlehomeにTwitterのトレンドを喋らせるプログラム
GoogleHomeとiftttとRaspberryPiを利用して"ねぇGoogle Twitterのトレンド"と話しかけると現在時間におけるTwitterのトレンドを読み上げるプログラム
-
RaspberryPi
-
Node.js
- -必要なモジュール-
- node-express
- body-parser
- ngrok
- google-home-notifier
-
ifttt
-
GoogleHome
-
Twitter API
- TwitterのAPIを取得後TOKENなどを追加
var client = new Twitter({
consumer_key: 'YOUR_TWITTER_KEY',
consumer_secret: 'YOUR_TWITTER_SECRET',
access_token_key: 'YOUR_TWITTER_TOKEN_KEY',
access_token_secret: 'YOUR_TWITTER_TOKEN_SECRET'
});
-
必要なNodeモジュールのインストール
-
iftttでGoogleHomeとRaspberryPiを結びつける
詳細は下記のURL参照
This software is released under the MIT License, see LICENSE.