Releases: cgrok/clashroyale
Releases · cgrok/clashroyale
Improved error handling for PaginatedAttrDict
Support for paginated responses
4.0.0 - 11/11/2018
Warning: There are breaking changes
Added
- OfficialAPI: A way to iterate through paginated repsonses (i.e. search_clans, search_tournaments) using asynchronus generators.
- OfficialAPI: Tests for the pagination.
- Requirement: async_generator (For Python 3.5 support)
- Logging URL Requests
- Unit tests for async clients
Changed
- Repsonses with a
.items
will simply be returned as a list OfficialAPI.get_cards()
->OfficialAPI.get_all_cards()
(Deprecated till v4.1.0)- OfficialAPI:
before
andafter
are no longer valid parameters as pagination is natively supported
Fixed
- Client.close() now works if the client is async
- function(timeout) would sometimes not work
Removed
clashroyale.*.utils
are no longer in__init__.py
- Individual models for all data types aren't created anymore