KashRock Python SDK
Official Python client for the KashRock esports API.
Props, odds, matches, live scores, and history — one key, normalized IDs.
Install
pip install kashrock
Four lines to a live prop
from kashrock import KashRock
kr = KashRock("YOUR_API_KEY")
print(kr.props("cs2")["props"][0])
Get a free Sandbox key at kashrock.com/pricing. Docs: kashrock.com/docs.
KASHROCK_API_KEY works if you do not want the key in code.
What you can call
kr.me()
kr.props("cs2", book="prizepicks", limit=20)
kr.lines("cs2")
kr.matches("cs2", status="upcoming")
kr.live_games("cs2")
kr.gamelogs("cs2", "zywoo")
kr.history_tape(market_key="kr_mk_…")
Same paths as the HTTP API and the KashRock MCP. Stacks are not included.
Sandbox keys are CS2 props only. Hobby+ unlocks the rest of the board. Builder+ unlocks matches, live, gamelogs, and history.
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kashrock-0.1.0.tar.gz.
File metadata
- Download URL: kashrock-0.1.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d21862b30b69517496e99244ee3ff4301e042864e06af312bd6b49995b7d0cd
|
|
| MD5 |
73cd02f34565ce07aa9989bcbf5d49e2
|
|
| BLAKE2b-256 |
297a03682e361b6787179614b1202665002c676886617ed9e7022ad628ce9df5
|
File details
Details for the file kashrock-0.1.0-py3-none-any.whl.
File metadata
- Download URL: kashrock-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5bcee96f6391a28184e468a77ae62b43bf67b2e9100d7db198323085d552a8d
|
|
| MD5 |
7543ce83716bc973385b6868482ae436
|
|
| BLAKE2b-256 |
b0482be0a8ef678721f4ddc0dd7bc607ecfa6255d0323649254ab3b306b44e9b
|