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.
Files changed (2) hide show
  1. package/README.md +10 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # lxns-sdk
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-sdk
13
+ npm i lxns-rhythm-api
14
14
 
15
15
  # pnpm
16
- pnpm add lxns-sdk
16
+ pnpm add lxns-rhythm-api
17
17
 
18
18
  # yarn
19
- yarn add lxns-sdk
19
+ yarn add lxns-rhythm-api
20
20
  ```
21
21
 
22
22
  ## 快速开始
23
23
 
24
24
  ```ts
25
- import { LxnsApiClient } from "lxns-sdk";
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
@@ -2,7 +2,7 @@
2
2
  "name": "lxns-rhythm-api",
3
3
  "description": "A simple SDK for lxns api.",
4
4
  "author": "amatsuka <amatsukamao@qq.com>",
5
- "version": "0.1.2",
5
+ "version": "0.1.3",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/wsyzxjn/lxns-rhythm-api.git"