twitter_api.py 文件源码

python
阅读 28 收藏 0 点赞 0 评论 0

项目:pytennessee 作者: lorenanicole 项目源码 文件源码
def __init__(self, consumer_key=None, consumer_secret=None, oauth_token=None, oauth_secret=None):
        self.consumer_key = consumer_key or TWITTER_CONSUMER_KEY
        self.consumer_secret = consumer_secret or TWITTER_CONSUMER_SECRET
        self.oauth_token = oauth_token or OAUTH_TOKEN
        self.oauth_token_secret = oauth_secret or OAUTH_TOKEN_SECRET
        self.auth=OAuth1(self.consumer_key,
                         client_secret=self.consumer_secret,
                         resource_owner_key=self.oauth_token,
                         resource_owner_secret=self.oauth_token_secret)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号