ひよこの外部記憶

めもおきば

TwitterAPI

クエリーをappendした後のツイートの取得

リスト内包表記に今はまだ慣れていないのでメモ

search_results[0]['results'][0]['text']

ちなみにリスト内包表記で書くと

[r['text'] for result in search_results for r in result['results'] ]

てな感じ

A library that provides a python interface to the Twitter API:

http://static.unto.net/python-twitter/0.6/doc/twitter.html