@karate-combat/api
v2.3.1
Published
Karate Combat API Client
Downloads
308
Readme
Karate Combat Public API client
A zero dependency client for retrieving content from Karate Combat Public API
Installation
Node 18 or above is required.
npm i @karate-combat/api
yarn add @karate-combat/api
Usage
import { getFightEvent } from '@karate-combat/api'
// or
import * as kumite from '@karate-combat/api' // kumite.getFightEvent()
// or
const dojo = require('@karate-combat/api')
Examples
const kc44 = await getFightEventBySlug('kc44')
const luizRocha = await getFighter('74EHYTnT6xMJ6EXk8Z7cra')
const results = await getFightEventResults('5dKKpZKGDPcgxbeGNJQ1fH')