Coc.py

Latest version: v3.5.2

Safety actively analyzes 623518 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 8

3.7

Add retry handling to the HTTPClient - if a request fails with a GatewayError (or TimeoutError), it will sleep and then retry for a maximum of 5 times.
Super Minion, Super Wizard, Ice Hound, Log Launcher and Invisibility Spells were added.

3.5.2

Additions:
---
- added the option to change the base url of the API in `coc.Client` to allow an easier use of proxies
- added the new events `coc.PlayerEvents.equipment_change` and `coc.PlayerEvents.active_equipment_change`
- added the new names for builder base related events to `coc.ClanEvents` and `coc.PlayerEvents`
- added the change in the api model for ClanMembers. `coc.ClanMember` now has a new attribute `town_hall` which is the town hall level.

Fixes:
---
- Fixed an issue with the renaming of `versus_trophies` to `builder_base_trophies` and similar name changes in the event related code

3.5.1

Additions:
---
- added the option to change the base url of the API in `coc.Client` to allow an easier use of proxies
- added the new events `coc.PlayerEvents.equipment_change` and `coc.PlayerEvents.active_equipment_change`
- added the new names for builder base related events to `coc.ClanEvents` and `coc.PlayerEvents`
- added the change in the api model for ClanMembers. `coc.ClanMember` now has a new attribute `town_hall` which is the town hall level.

Fixes:
---
- Fixed an issue with the renaming of `versus_trophies` to `builder_base_trophies` and similar name changes in the event related code

3.4.2

Additions:
---
- added the new Angry Jelly pet to `coc.PETS_ORDER`
- updated static data to reflect the April 2024 update

3.4.1

Additions:
---
- added the missing achievements to `coc.ACHIEVEMENT_ORDER`
- updated static data to reflect the March 26th balance patch

3.4.0

Additions:
---
- added the new Fireball equipment to `coc.EQUIPMENT`

Bugs Fixed:
---
- Fixed an oversight that caused static equipment data not to be updated, which in turn resulted in some newer
equipment pieces not showing up in `coc.Player.equipment` if game data was enabled
- Fixed some errors in the docs

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.