Metadata-Version: 2.1
Name: weibo-oauth
Version: 0.1.1
Summary: 新浪微博API封装
Home-page: https://github.com/zcq100/weibo-oauth
Author: zcq100
Author-email: zcq100@gmail.com
License: UNKNOWN
Description: ## Sina Weibo API
        
        ## 安装
        ```
        pip install weibo-oauth
        ```
        
        ## 使用
        ```
        from weibo-oauth import Weibo
        import webbrowser
        
        #APP_ID,SECRET_KEY,redirect_uri
        weibo=Weibo("APP_ID","SECRET_KEY")
        
        #打开浏览器获取request code
        webbrowser.open(weibo.get_authorize_url())
        
        #黏贴获取到的code
        code=input("input request code:")
        
        #获取access_token
        weibo.get_access_token(code)
        
        #请求API，获取所有的评论
        _json = weibo.get("comments/by_me")
        print(_json)
        
        ```
        
        ## API请求
        ```
        weibo.get("comments/by_me",count=200,page=10)
        返回一个 json 对象
        ```
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.6
Description-Content-Type: text/markdown
