coc.py
coc.py copied to clipboard
Python API Wrapper for Clash of Clans.
getting this list -> ['Barbarian', 'Archer', 'Goblin', 'Giant', 'Wall Breaker', 'Balloon', 'Wizard', 'Healer', 'Dragon', 'P.E.K.K.A', 'Baby Dragon', 'Miner', 'Yeti', 'Sneaky Goblin', 'Electro Dragon', 'Dragon Rider'] Error -> Sneaky Goblin is...
`get_max_level_for_townhall()` Examples: Max level for Yeti in Th14 is `3` but the max level is actually `4` Max level for Hog Rider in th14 is `10` but the max level...
https://github.com/mathsman5133/coc.py/blob/3b803a9c142d7554675418a6df6436dca90c5a05/coc/war_clans.py#L107 currently hardcoded to multiply attacks by two _(normal wars)_ should be `self._war.team_size * self._war.attacks_per_member`
In documentation it is mentioned that you can use it for state (war) as well but it's just not working. Is it not implemented in the code?
I am using the example on [this page](https://cocpy.readthedocs.io/en/latest/examples/war_logs.html), which mostly works other than the errors it spits out at the end. See below: ``` ... League War Season - No...
I am trying to use coc.py in a flask v2 application. Upon doing `client.login(...)` I get the following error: ``` DEBUG:coc.http:https://developer.clashofclans.com/api/apikey/list has received {'error': 'general', 'description': 'Temporary application error, request...
It will be nice to have template for issues and pr, so people can submit pr and issue in correct manner
Examples are king! They're super helpful and should be mostly short, easy code snippets to write. They should be under the "Examples" section of the doc-string.
Issue template _or documentation_ showing where updates need to be made for new troops and super troops