コード例 #1
0
ファイル: crawler.py プロジェクト: skylarker/rumor-detection
class Crawler(object):
    def __init__(self):
        self.twitter_api = TwitterAPI()
        self.api = self.twitter_api.get_api()

    def play(self):
        for follower in self.api.followers():
            print follower.name, follower.location
コード例 #2
0
ファイル: crawler.py プロジェクト: skylarker/rumor-detection
 def __init__(self):
     self.twitter_api = TwitterAPI()
     self.api = self.twitter_api.get_api()