Package Exports
- @jharrilim/balldontlie-client
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@jharrilim/balldontlie-client) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
balldontlie-client
Javascript client for Balldontlie. API Docs found here.
API Implementation Status
API | Status |
---|---|
Players | ✅ |
Teams | ✅ |
Games | 🚸 |
Stats | ❌ |
Season Averages | ❌ |
Install
npm i @jharrilim/balldontlie-client
Usage
import { BallDontLie } from '@jharrilim/balldontlie-client';
void async function main() {
const v1Client = BallDontLie.v1();
for await(let team of v1Client.teams()) {
console.log(team.full_name);
}
}().catch(console.error);