Metadata-Version: 2.1
Name: cliannelibrary
Version: 0.1.2.1
Summary: Python module with a lof of complex useful utilities.Clianne Libraries
Home-page: https://github.com/DmitryOstroushko/cliannelibrary
Author: Dmitry Ostroushko
Author-email: dmitrlylianne@gmail.com
License: Apache License, Version 2.0, see LICENSE file
Description: # clianne library - useful python methods
        
        ![PyPI](https://img.shields.io/pypi/v/cliannelibrary?color=orange) ![Python 3.6, 3.7, 3.8](https://img.shields.io/pypi/pyversions/cliannelibrary?color=blueviolet) ![GitHub Pull Requests](https://img.shields.io/github/issues-pr/DmitryOstroushko/cliannelibrary?color=blueviolet) ![License](https://img.shields.io/pypi/l/cliannelibrary?color=blueviolet) ![Forks](https://img.shields.io/github/forks/DmitryOstroushko/cliannelibrary?style=social)
        
        **Clianne Library** - this project is a Python client library which includes useful methods on different topics
        
        ## Installation
        
        Install the current version with [PyPI](https://pypi.org/project/cliannelibrary/):
        
        ```bash
        pip install cliannelibrary
        ```
        
        Or from Github:
        ```bash
        pip install https://github.com/DmitryOstroushko/cliannelibrary/archive/main.zip
        ```
        
        ## Usage
        
        You can generate a token for clubhouse by going to the account section and generating a new token
        
        ```python
        TOKEN = os.getenv('TOKEN')
        
        club_house_session = ClubHouse(TOKEN, 'v3')
        club_house = club_house_session.get_api()
        ```
        
        ## Example
        
        Create a new Story in the first Project that is returned from the API in the all projects list.
        
        *If you installed a module from PyPi, you should to import it like this: ``` from clubhouse_api import ClubHouse ```*
        
        *If from GitHub or source: ``` from club_house_api import ClubHouse ```*
        
        ```python
        from club_house_api import ClubHouse
        import asyncio
        import os
        
        TOKEN = os.getenv('API_TOKEN')
        
        club_house_session = ClubHouse(TOKEN, 'v3')
        club_house = club_house_session.get_api()
        
        async def main():
        
            all_projects = await club_house.projects()
            first_project_id = all_projects[0]['id']
        
            new_story = {'name': 'My new story', 'project_id': first_project_id}
            story = await club_house.stories.create(**new_story)
            print(story)
        
        loop = asyncio.get_event_loop()
        loop.run_until_complete(main())
        ```
        
        
        ## Contributing
        
        Bug reports and/or pull requests are welcome
        
        
        ## License
        
        The module is available as open source under the terms of the [Apache License, Version 2.0](https://opensource.org/licenses/Apache-2.0)
        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Programming Language :: Python :: Implementation :: CPython
Description-Content-Type: text/markdown
