Metadata-Version: 2.1
Name: coc.py
Version: 0.2.0
Summary: A python wrapper for the Clash of Clans API
Home-page: https://github.com/mathsman5133/coc.py
Author: mathsman5133
License: MIT
Description: coc.py
        ======
        
        Easy to use asynchronous Clash of Clans API wrapper in Python.
        
        Key Features
        -------------
        - Asynchronous code
        - Entire coverage of the official Clash of Clans API
        - Email/password login removes the stress of managing tokens
        - Optimised for speed and performance
        
        Getting Started
        ================
        
        Installing
        -----------
        **Python 3.5 or higher is required**
        
        .. code:: sh
        
            # Linux/OS X
            python3 -m pip install -U coc.py
        
            # Windows
            py -3 -m pip install -U coc.py
        
            # to install the development version:
            python3 -m pip install -U git+https://github.com/mathsman5133/coc.py --upgrade
        
        
        Quick Example
        --------------
        .. code:: py
        
            import coc
            import asyncio
        
            client = coc.login('email', 'password')
        
            async def get_some_player(tag):
                player = await client.get_player(tag)
        
                print(player.name)
                # alternatively,
                print(str(player))
        
            async def get_five_clans(name):
                players = await client.search_clans(name=name, limit=5)
                for n in players:
                    print(n, n.tag)
        
            async def main():
                await get_some_player('tag')
                await get_five_clans('name')
                await client.close()
        
            if __name__ == '__main__':
                loop = asyncio.get_event_loop()
                loop.run_until_complete(main())
        
        For more examples see the examples directory
        
        Links
        ------
        - `coc.py Documentation <https://cocpy.readthedocs.io/en/latest/?>`_
        - `Official Clash of Clans API Page <https://developer.clashofclans.com/>`_
        
        
        
        
        
Platform: UNKNOWN
Requires-Python: >=3.5.3
Description-Content-Type: text/x-rst
