You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This update has quite a bit of change without breaking backward compatibility.
32
+
33
+
For starters, support for the context manager was added #121 allowing the use of::
34
+
35
+
async def main():
36
+
async with coc.Client() as client:
37
+
# do stuff...
38
+
39
+
if __name__ == "__main__":
40
+
asyncio.run(main())
41
+
42
+
Additionally, with the release of CapitalRaidSeasons we needed to improve the performance of fetching warlogs and capital raid logs. Previously, all records available from the API were fetched when in most cases, folks just needed the newest data. A `limit` parameter has been added to both `get_warlog` and `get_raidlog`.
43
+
44
+
Additionally, support for `async for warlog` has been added with the ability to fetch more data if needed.::
0 commit comments