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.
Install
npm install kashrock
First call
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.
Install
pip install kashrock
First call
from kashrock import KashRock
kr = KashRock("kr_demo_swagger_public_readonly")
print(kr.props("lol")["props"][0])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.
JavaScript
await kr.props("lol")
await kr.lines("lol")
await kr.matches("lol")
await kr.liveGames("lol")
await kr.researchBoard()
await kr.historyTape()Python
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.
JavaScript
git clone https://github.com/kashrockapi/kashrock-js.git
Python
git clone https://github.com/kashrockapi/kashrock-python.git