Metadata-Version: 2.1
Name: blitz_async
Version: 1.0.0
Summary: A Python application that allows you to interact with the Blitz control panel
Home-page: UNKNOWN
Author: ARLIKIN
License: MIT
Description: # Blitz Async
        A Python application that allows you to interact with the Blitz control panel
        
        ## How To Install
        ```
        pip install blitz_async
        ```
        
        ```python
        from blitz_async import Blitz
        
        blitz = Blitz(
            full_address='full_address',
            token_api='token',
            https=True,
            verify_ssl=False,
            timeout=30,
        )
        ```
        
        - Add client
        ```python
        result = await blitz.add_user(AddUserInputBody(
                username='username',
                traffic_limit=0,
                expiration_days=0,
                unlimited=True
            ))
        ```
        
        - Get client's information:
        ```python
        client =  await blitz.get_user(username='username')
        key_client = await blitz.get_user_uri(username='username')
        ```
        
        - Delete client from the existing inbound:
        ```python
        result = await blitz.delete_user(username='username')
        ```
        
        - Update the existing client
        ```python
        result = await blitz.edit_user(
                username=username,
                body=EditUserInputBody(
                    blocked=True
                )
            )
        ```
        
Keywords: blitz python,blitz panel,blitz
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Description-Content-Type: text/markdown
