LoginSignup
34
33

More than 5 years have passed since last update.

マジで3秒でできるslackに天気投げるやつ

Last updated at Posted at 2015-01-22

登録

チャンネルにこれを投稿する。
/feed subscribe http://weather.livedoor.com/forecast/rss/area/130010.xml

解除

/feed list
で表示されたidを元に
/feed remove <id>
のように入力する。

忘れたら /feed help するといいです。

所感

slackbotとのDMにでも設定しておくといい感じ。
天気以外にもfeedであれば登録できるので、アイデア次第で面白いことができそう。

参考

※天気の取得にはlivedoor天気情報で提供されているAPIを使いました。
こちら: http://weather.livedoor.com/weather_hacks/rss_feed_list#forecast

34
33
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
34
33