0.0.10 • Published 1 year ago

bgmc v0.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago