Metadata-Version: 2.1
Name: pydouyu
Version: 0.0.3
Summary: Python implementation of douyu TV API
Home-page: https://github.com/Kexiii/pydouyu
Author: kexiii
Author-email: kexiii@163.com
License: UNKNOWN
Description: # pydouyu
        斗鱼TV三方API、弹幕接口实现
        
        # Install
        - Install python3 & pip3
        - Install pydouyu
            - pip3 install pydouyu
        
        # Example
        ````python
        from pydouyu.client import Client
        import time
        import sys
        
        
        def chatmsg_handler(msg):
            output = time.strftime("[%Y-%m-%d %H:%M:%S] ", time.localtime()) + msg['nn'] + ": " + msg['txt']
            print(output)
            sys.stdout.flush()
        
        
        def uenter_handler(msg):
            output = time.strftime("[%Y-%m-%d %H:%M:%S] ", time.localtime()) + msg['nn'] + " 进入了直播间"
            print(output)
            sys.stdout.flush()
        
        
        c = Client(room_id=562590)
        c.add_handler('chatmsg', chatmsg_handler)
        c.add_handler('uenter', uenter_handler)
        c.start()
        
        ````
        
        # Usage
        - TODO
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
