bgmc
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

Bangumi Client

version CI

Installation

npm i bgmc

Usage

Create the bangumi API client, and fetch something.

import { BgmClient } from 'bgmc';

const client = new BgmClient(fetch);
const calendar = await client.calendar();

console.log(calendar);

Get the lastest bangumi data from the cdn of bgmd.

import { getCalendar } from 'bgmc/data';

const calendar = await getCalendar();
console.log(calendar);

License

MIT License © 2023 XLor

Readme

Keywords

Package Sidebar

Install

npm i bgmc

Weekly Downloads

241

Version

0.0.10

License

MIT

Unpacked Size

426 kB

Total Files

32

Last publish

Collaborators

  • yjl9903