TwitterのストリーミングAPIをAndroidに食わせて眺めてたら結構使えるんじゃね?と思って試してみた。 SL4Aって何 SL4AとはScripting Layer for Androidの略。スクリプト言語でAndroidのプログラムをつくることができる。使用できる言語はBash, JRuby, Lua, Perl, Python, JavaScript(Rhino), Tclなど。 今回はPythonとtweepyを使用した。tweepyはgitの先っぽを使用。ちなみにtweepyはUserStream APIには未対応なのだが、テキトーにでっち上げたら一応動いた。一応動いたがUser Stream Implementation Suggestionには多分準拠できてない。 当初PerlとAnyEvent::Twitter::Streamでやろうと思ったのだが、依存関係の嵐に面