Metadata-Version: 2.1
Name: PyBlox2
Version: 1.0.0
Summary: Handler for the Roblox API
Home-page: https://github.com/Kyando2/PyBlox
Author: Kyando
Author-email: amehikoji@gmail.com
License: UNKNOWN
Description: # PyBlox2
        [![MIT License](https://img.shields.io/apm/l/atomic-design-ui.svg?)](https://github.com/Kyando2/PyBlox/blob/async/LICENSE.md)
        [![Version](https://img.shields.io/pypi/v/PyBlox2.svg)](https://pypi.org/project/PyBlox2/)<br>
        High level library for making Roblox bots in Python
        ### Examples
        #### A Basic Example
        ```python
        import PyBlox2
        
        client = PyBlox2.BloxClient()
        
        @client.event
        async def ready(ctx):
            await client.fetch("friend_requests")
            player = client.friend_requests[0]
            await player.fetch("friends")
            
            (player.friends[0])
        
        @client.event
        async def request(ctx):
            print("Received status code ", ctx[0].status)
        
        client.run(ROBLOSECURITY) # ROBLOSECURITY COOKIE
        ```
        #### Changing someone's role
        ```python
        import PyBlox2
        
        client = PyBlox2.BloxClient()
        
        @client.event
        async def ready(ctx):
            group = await client.get_group(5029105)
            member = await group.get_member("fego2015")
            role = await group.get_role("Moderators")
            await member.set_role(role)
        
        @client.event
        async def request(ctx):
            
            ("Received status code ", ctx[0].status)
        
        client.run(ROBLOSECURITY) # ROBLOSECURITY COOKIE
        ```
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
