SDKs
Install the package, paste the snippet, get a live LoL prop. The demo key is in the example — no signup. Same KashRock IDs as HTTP.
JavaScript SDK
Node 18+. Native fetch. Demo key is read-only: live LoL props, one prop per call, 2 requests/min. Your own key or KASHROCK_API_KEY for everything else.
npm install kashrock
import { KashRock } from "kashrock"
const kr = new KashRock("kr_demo_swagger_public_readonly")
console.log((await kr.props("lol")).props[0])Python SDK
Demo key is read-only: live LoL props, one prop per call, 2 requests/min. Your own key or KASHROCK_API_KEY for everything else.
pip install kashrock
from kashrock import KashRock
kr = KashRock("kr_demo_swagger_public_readonly")
print(kr.props("lol")["props"][0])Math SDK
Pure odds, EV, series, props, and modeling math with no network calls. Python kashrock-math and JavaScript @kashrock/math share the same formulas. See Math SDK.
What you can call
Props is the first call, not the whole SDK. Lines, matches, live, research, and history tape are on the client. Demo key is LoL props only; Hobby+ unlocks lines; Builder+ unlocks matches, live, research, and history.
await kr.props("lol")
await kr.lines("lol")
await kr.matches("lol")
await kr.liveGames("lol")
await kr.researchBoard()
await kr.historyTape()kr.props("lol")
kr.lines("lol")
kr.matches("lol")
kr.live_games("lol")
kr.research_board()
kr.history_tape()Contributing
Clone only if you are changing the client. App users should install from npm / PyPI.
git clone https://github.com/kashrockapi/kashrock-js.git
git clone https://github.com/kashrockapi/kashrock-python.git