A small Bot which supports my confortable “Music Life" / 快適なミュージックライフを支える小さなBotの話
շదͳϛϡʔδοΫϥΠϑΛࢧ͑Δখ͞ͳBotͷA small Botwhich supports my confortable “Music Life“
View Slide
@ar_tama͋Βͨ·
Japan MochimochiAssociation
5PLVCBJJOD
Do you like Music?
DVSMIUUQTBQJTQPUJGZDPNWNFUSBDLTcKRUPUBM2672 Songs(w/o songs from playlists)˞ʙϓϨΠϦετ͝ͱՃ͍ͯ͠ΔۂͱιϯάʹՃ͠ͳ͔ͬͨۂΧϯτ͍ͯ͠ͳ͍ͷͰௌ͍ͨۂͳΒܰ͘ສΛ͍͑ͯΔͣʜ
DVSMIUUQTBQJTQPUJGZDPNWNFUSBDLTcKR<>USBDLBSUJTUT<>OBNFcVOJRcXDM1891 Artists
5PPPPPPPPNBOZ
I’m looking forward XXX’s Japan tour..What is time the ticket sales?
~Half years later~
ʊਓਓਓਓਓਓʊʼɹSold outɹʻʉ:?:?:?:?:ʉ
2344 "5PPIBSEUPpOEBMMNFEJB
͍͖Εͳ͍ΜͰ͢·͡Ͱʜ
Nofify me ‘͍͍ײ͡’ʙʂ
4P DSFBUFE
w ʮ͓͍͍ͬͳʯͱࢥͬͨΞʔςΟετΛϝϞ͢Δײ֮Ͱొw ҰఆपظͰ#JOH/FXT4FBSDI"1*Λୟ͍ͯ৴w ʢ·ͣʣओʹཉ͍͠ͷདྷใ͚ͩͳͷͰ ຊͷχϡʔεͷΈ
Gems•HTTParty•Find the newsʗWebhook•Slack-Ruby-Bot•Bot
Services•Bing News Search API•Free Plan•3req/1sec•3000req/1mon
Services•Heroku•Web dyno + CronʢCron To Goʣ•ʴ UptimeBot
(Actually) Call News APIusing registered queries,that’s all
High versatility
Let’s Try