Skip to main content

KashRock Python SDK

Official Python client for the KashRock esports API.

Props, odds, matches, live scores, and history — one key, normalized IDs.

Site: https://www.kashrock.com

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])

Sandbox key: https://www.kashrock.com/pricing

Docs: https://www.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.

MCP: https://www.kashrock.com/mcp

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

kashrock-0.1.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kashrock-0.1.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file kashrock-0.1.1.tar.gz.

File metadata

  • Download URL: kashrock-0.1.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.1

File hashes

Hashes for kashrock-0.1.1.tar.gz
Algorithm Hash digest
SHA256 87862e2742e6df95d3ec1bc813ce5b964a8561ea3c808fdb92be2db5de6f80ae
MD5 36fc165d94b6dbd04907b444d4cdd9e8
BLAKE2b-256 b329d864c335c2c4932d9b7a20927604c1b86a3c68d4924bf75025aac6f9730f

See more details on using hashes here.

File details

Details for the file kashrock-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: kashrock-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.1

File hashes

Hashes for kashrock-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 96dd1c1683742b97cfe45f01c806b3a181389bc01c570b058cae377d51cb3e33
MD5 9faa39ed76b755d081fcbfb67e11e351
BLAKE2b-256 80c02a4df004598607bc75a3c7cdfb077e31ec0c6d021b2c345d118697ec717c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page