cabhas.blogg.se

Clash of clans linux
Clash of clans linux









If you wish to run linting, pylint, black and flake8 have been setup and can be run with: python setup.py lint Links These can be installed with: pip install -r doc_requirements.txt cd docs make html If you wish to run, setup or work on documentation, you will need to install sphinx and a few related dependencies. run_forever () except KeyboardInterrupt : passįor more examples see the examples directory ContributingĬontributing is fantastic and much welcomed! If you have an issue, feel free to open an issue and start working on it. add_events ( foo, bar ) if _name_ = "_main_" : logging. add_clan_updates ( * list_of_clan_tags ) # Register the callbacks for each of the events you are monitoring coc_client. InvalidCredentials as error : exit ( error ) # Register all the clans you want to monitor list_of_clan_tags = coc_client. login ( "email", "password" ) except coc. get_player ( "tag" ) print ( f " troops!" ) async def main (): coc_client = coc. invalidcredentials as error : exit ( error ) player = await client. Client () as coc_client : try : await coc_client. import asyncio import coc async def main (): async with coc. This example will get a player with a certain tag, and search for 5 clans with a name. Python3 -m pip install -U git+ Quick Example Py -3 -m pip install -U coc.py # to install the development version: Python3 -m pip install -U coc.py # Windows Python 3.7 or higher is required # Linux/macOS Optimised for speed, memory and performance Key FeaturesĮntire coverage of the official Clash of Clans APIĮmail/password login removes the stress of managing tokens Easy to use asynchronous Clash of Clans API wrapper in Python.











Clash of clans linux