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.

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

kashrock-0.1.0.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.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

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

Hashes for kashrock-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2d21862b30b69517496e99244ee3ff4301e042864e06af312bd6b49995b7d0cd
MD5 73cd02f34565ce07aa9989bcbf5d49e2
BLAKE2b-256 297a03682e361b6787179614b1202665002c676886617ed9e7022ad628ce9df5

See more details on using hashes here.

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

Hashes for kashrock-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5bcee96f6391a28184e468a77ae62b43bf67b2e9100d7db198323085d552a8d
MD5 7543ce83716bc973385b6868482ae436
BLAKE2b-256 b0482be0a8ef678721f4ddc0dd7bc607ecfa6255d0323649254ab3b306b44e9b

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.1

2 files

This release

0.1.0 This release

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