コード例 #1
0
    def klout_interest_topics(self):
        """
        Get the user's Klout interest topics (a list of dicts), if it exists.
        Topic dicts will have these keys: `url`, `id`, `name`, `score`

        Returns:
            list: value returned by calling
            `tweet_user.get_klout_topics(self, topic_type = 'interest')`
            (if no Klout is present, this returns a `None`)
        """
        return tweet_user.get_klout_topics(self, topic_type='interest')
コード例 #2
0
 def klout_influence_topics(self):
     """
     Return the user's Klout influence topics (a list of dicts), if it exists. 
     """
     return tweet_user.get_klout_topics(self, topic_type='influence')