coc.py icon indicating copy to clipboard operation
coc.py copied to clipboard

Python API Wrapper for Clash of Clans.

Results 21 coc.py issues
Sort by recently updated
recently updated
newest added

including the doc fixing part from #136 Also I added the DataContainer.village attribute as it can be initialized already with the loaded data from json. This pull requests contains the...

is available in the api now, I tested it & works, but not super familiar if there is any other edits that need to be made

Extension coded similar to discordlinks to give selected persons access to the FullWarApi, which solves the problems around the war cache if war needs to be tracked. You can find...

``` troop = coc_client.get_troop(name="Siege Barracks",townhall=12) m = troop.get_max_level_for_townhall(12) ``` returns m == 3, which is incorrect as Siege Barracks is not available at TH12. Same issue persists for the following...

finally found the problem with the docs

… already exist then initialising keys never makes any new ones, regardless if some are deleted.

This is the traceback that I receive. Basically, any function that uses `async for x in clan.get_detailed_members():`. Any other loops/functions works just fine, or so it seems to me. ![image](https://user-images.githubusercontent.com/63084584/195634536-e7d61d50-bcd7-487e-ab36-b9006ad715b9.png)

Currently, we can track changes in the main base clan leaderboard sorted by trophies using ClanEvents.member_clan_rank(). I would like to be able to track changes to builder base and clan...

Required trophies exists, required versus trophies and required town hall do not. https://cocpy.readthedocs.io/en/latest/code_overview/models.html#coc.Clan.required_trophies Thank you!