#04-02 【obsolete】IRCでキーワードがあったらBoxcarで通知するtiarraプラグインを作った【全面書き直し】
以下、とりあえず残しておく。
設定ファイルに
Your API secret isのところじゃなくて curl の secret= のところを使う(手抜き)
2. Now, send yourself a notification. Go ahead!
It's easy. Here's how to do it using cURL:
curl -d "token=tttttttttttttttt" \
-d "&secret=ssssssssssssssss" \
-d "¬ification[from_screen_name]=Hello" \
-d "¬ification[message]=This+is+an+example" \
http://boxcar.io/devices/providers/kkkkkkkkkkkkkkkk/notifications
Your API secret is: jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
Your API key is: kkkkkkkkkkkkkkkk
こんなん書いて <tiarra directory>/module/Tools/Boxcar.pm とか置いて再読み込みすれば、たぶんOK。
+ Tools::Boxcar {
token: tttttttttttttttt
secret: ssssssssssssssss
key: kkkkkkkkkkkkkkkk
keyword: Boxcar
}