motogp-api
Version:
A TypeScript API wrapper for MotoGP data
45 lines (30 loc) • 717 B
Markdown
[](https://www.npmjs.com/package/motogp-api)
[](https://github.com/Vasolix/MotoGP-API)
A simple and efficient TypeScript wrapper for the official MotoGP API.
```bash
npm install motogp-api
bun add motogp-api
```
```typescript
import { MotoGPClient } from 'motogp-api';
const client = new MotoGPClient();
// Get riders
const riders = await client.getRiders();
// Get seasons
const seasons = await client.getSeasons();
```
```bash
bun run build
bun test
bun run lint
```
MIT