Repository navigation
First release.
Added
Deadlock(sync) andAsyncDeadlock(asyncio) clients. The sync client is generated from the async source, so both behave the same.- Typed access to every GET endpoint through
dl.api.get(...): all 237 schemas generated asTypedDict, one@overloadper endpoint, checked by mypy and pyright. - Resources:
players(summary, rank, batched ranks, match history with filters, hero, enemy and mate stats, search, profiles),matches(metadata, bulk metadata in chunks of 1000, live matches, scoreboards),heroes(lookup by name, stats, confidence ranked tier list, counters, synergies),items(shop filters, lookup, item stats),ranks,leaderboard,builds,patches,analyticsandsql. - Steam id helpers for account ids, SteamID64, SteamID3, SteamID2 and profile URLs, accepted by every method.
- Rank helpers
decode_badge,encode_badgeandparse_badge("oracle 3"to83), stats helperssummarize_history,wilson_lower_bound,win_rate,kda. - HTTP layer on httpx with retries,
Retry-After, proactive throttling onRateLimit-*headers, no retries for 504 query timeouts, typedDeadlockErrorcodes and request de-duplication in async code. - Per resource cache lifetimes and pluggable cache stores.
deadlock_sdk.pandas.to_dataframewith the optionalpandasextra.deadlock-pyCLI (alsopython -m deadlock_sdk).- Weekly contract tests against the live API plus a schema drift check.