motogp-api
v1.1.1
Published
A TypeScript API wrapper for MotoGP data
Downloads
244
Maintainers
Readme
MotoGP API
GitHub
A simple and efficient TypeScript wrapper for the official MotoGP API.
Installation
npm install motogp-api
# or
bun add motogp-apiUsage
import { MotoGPClient } from 'motogp-api';
const client = new MotoGPClient();
// Get riders
const riders = await client.getRiders();
// Get seasons
const seasons = await client.getSeasons();Development scripts
# Build the project
bun run build
# Run tests
bun test
# Lint the code
bun run lintLicense
MIT
