@ikenxuan/amagi 4.2.1 → 4.2.2
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.
|
@@ -2,6 +2,7 @@ import { BilibiliDataOptions, BilibiliDataOptionsMap, DouyinDataOptions, DouyinD
|
|
|
2
2
|
/**
|
|
3
3
|
* 获取抖音数据
|
|
4
4
|
* @param type - 请求数据类型
|
|
5
|
+
* @param cookie - 有效的用户Cookie
|
|
5
6
|
* @param options - 请求参数,是一个对象
|
|
6
7
|
* @returns 返回接口的原始数据
|
|
7
8
|
* @example
|
|
@@ -16,6 +17,7 @@ export declare const getDouyinData: <T extends keyof DouyinDataOptionsMap>(type:
|
|
|
16
17
|
/**
|
|
17
18
|
* 获取B站数据
|
|
18
19
|
* @param type - 请求数据类型
|
|
20
|
+
* @param cookie - 有效的用户Cookie
|
|
19
21
|
* @param options - 请求参数,是一个对象
|
|
20
22
|
* @returns 返回接口的原始数据
|
|
21
23
|
* @example
|
|
@@ -29,6 +31,7 @@ export declare function getBilibiliData<T extends keyof BilibiliDataOptionsMap>(
|
|
|
29
31
|
/**
|
|
30
32
|
* 获取快手数据
|
|
31
33
|
* @param type - 请求数据类型
|
|
34
|
+
* @param cookie - 有效的用户Cookie
|
|
32
35
|
* @param options - 请求参数,是一个对象
|
|
33
36
|
* @returns 返回接口的原始数据
|
|
34
37
|
* @example
|
|
@@ -2,6 +2,7 @@ import { BilibiliData, DouyinData, KuaishouData } from '../platform/index.js';
|
|
|
2
2
|
/**
|
|
3
3
|
* 获取抖音数据
|
|
4
4
|
* @param type - 请求数据类型
|
|
5
|
+
* @param cookie - 有效的用户Cookie
|
|
5
6
|
* @param options - 请求参数,是一个对象
|
|
6
7
|
* @returns 返回接口的原始数据
|
|
7
8
|
* @example
|
|
@@ -19,6 +20,7 @@ export const getDouyinData = async (type, cookie, options) => {
|
|
|
19
20
|
/**
|
|
20
21
|
* 获取B站数据
|
|
21
22
|
* @param type - 请求数据类型
|
|
23
|
+
* @param cookie - 有效的用户Cookie
|
|
22
24
|
* @param options - 请求参数,是一个对象
|
|
23
25
|
* @returns 返回接口的原始数据
|
|
24
26
|
* @example
|
|
@@ -35,6 +37,7 @@ export async function getBilibiliData(methodType, cookie, options) {
|
|
|
35
37
|
/**
|
|
36
38
|
* 获取快手数据
|
|
37
39
|
* @param type - 请求数据类型
|
|
40
|
+
* @param cookie - 有效的用户Cookie
|
|
38
41
|
* @param options - 请求参数,是一个对象
|
|
39
42
|
* @returns 返回接口的原始数据
|
|
40
43
|
* @example
|