lxns-rhythm-api 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# lxns-
|
|
1
|
+
# lxns-rhythm-api
|
|
2
2
|
|
|
3
3
|
一个用于访问 Lxns API 的轻量 TypeScript SDK。
|
|
4
4
|
|
|
@@ -10,19 +10,19 @@
|
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
12
|
# npm
|
|
13
|
-
npm i lxns-
|
|
13
|
+
npm i lxns-rhythm-api
|
|
14
14
|
|
|
15
15
|
# pnpm
|
|
16
|
-
pnpm add lxns-
|
|
16
|
+
pnpm add lxns-rhythm-api
|
|
17
17
|
|
|
18
18
|
# yarn
|
|
19
|
-
yarn add lxns-
|
|
19
|
+
yarn add lxns-rhythm-api
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## 快速开始
|
|
23
23
|
|
|
24
24
|
```ts
|
|
25
|
-
import { LxnsApiClient } from "lxns-
|
|
25
|
+
import { LxnsApiClient } from "lxns-rhythm-api";
|
|
26
26
|
|
|
27
27
|
// 无 token:仅可用 public API
|
|
28
28
|
const client = new LxnsApiClient();
|
|
@@ -69,6 +69,11 @@ new LxnsApiClient(options?: {
|
|
|
69
69
|
|
|
70
70
|
> 注意:`baseURL` 默认值为 `https://maimai.lxns.net/api/v0/`。
|
|
71
71
|
|
|
72
|
+
## TODO
|
|
73
|
+
|
|
74
|
+
- [ ] 支持 Chuni API
|
|
75
|
+
- [x] 支持 Maimai API
|
|
76
|
+
|
|
72
77
|
## API 概览
|
|
73
78
|
|
|
74
79
|
- `maimai.public`
|
package/package.json
CHANGED