glitch-javascript-sdk 3.2.28 → 3.2.29
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/dist/cjs/index.js +17 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/TwitchReporting.d.ts +11 -0
- package/dist/esm/index.js +17 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +11 -0
- package/package.json +1 -1
- package/src/api/TwitchReporting.ts +15 -1
- package/src/routes/TwitchReportingRoute.ts +5 -1
|
@@ -42,6 +42,17 @@ declare class TwitchReporting {
|
|
|
42
42
|
* @returns promise
|
|
43
43
|
*/
|
|
44
44
|
static getMostActiveGames<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
45
|
+
/**
|
|
46
|
+
* Discover the most active Twitch games with Steam/IGDB genre, category,
|
|
47
|
+
* theme, live snapshot, and trend metrics.
|
|
48
|
+
*
|
|
49
|
+
* @see https://api.glitch.fun/api/documentation#/Twitch%20Reporting/discoverActiveTwitchGames
|
|
50
|
+
*
|
|
51
|
+
* @param params Optional query parameters (e.g., genres, categories, match_mode, trend_days, sort_by, limit).
|
|
52
|
+
*
|
|
53
|
+
* @returns promise
|
|
54
|
+
*/
|
|
55
|
+
static discoverActiveGames<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
45
56
|
/**
|
|
46
57
|
* Get top streamers by performance (average or peak CCV).
|
|
47
58
|
*
|
package/dist/esm/index.js
CHANGED
|
@@ -17876,6 +17876,10 @@ var TwitchReportingRoute = /** @class */ (function () {
|
|
|
17876
17876
|
url: '/reporting/twitch/games/most-active',
|
|
17877
17877
|
method: HTTP_METHODS.GET
|
|
17878
17878
|
},
|
|
17879
|
+
discoverActiveGames: {
|
|
17880
|
+
url: '/reporting/twitch/games/discovery',
|
|
17881
|
+
method: HTTP_METHODS.GET
|
|
17882
|
+
},
|
|
17879
17883
|
getTopStreamers: {
|
|
17880
17884
|
url: '/reporting/twitch/streamers/top',
|
|
17881
17885
|
method: HTTP_METHODS.GET
|
|
@@ -17948,6 +17952,19 @@ var TwitchReporting = /** @class */ (function () {
|
|
|
17948
17952
|
TwitchReporting.getMostActiveGames = function (params) {
|
|
17949
17953
|
return Requests.processRoute(TwitchReportingRoute.routes.getMostActiveGames, undefined, undefined, params);
|
|
17950
17954
|
};
|
|
17955
|
+
/**
|
|
17956
|
+
* Discover the most active Twitch games with Steam/IGDB genre, category,
|
|
17957
|
+
* theme, live snapshot, and trend metrics.
|
|
17958
|
+
*
|
|
17959
|
+
* @see https://api.glitch.fun/api/documentation#/Twitch%20Reporting/discoverActiveTwitchGames
|
|
17960
|
+
*
|
|
17961
|
+
* @param params Optional query parameters (e.g., genres, categories, match_mode, trend_days, sort_by, limit).
|
|
17962
|
+
*
|
|
17963
|
+
* @returns promise
|
|
17964
|
+
*/
|
|
17965
|
+
TwitchReporting.discoverActiveGames = function (params) {
|
|
17966
|
+
return Requests.processRoute(TwitchReportingRoute.routes.discoverActiveGames, undefined, undefined, params);
|
|
17967
|
+
};
|
|
17951
17968
|
/**
|
|
17952
17969
|
* Get top streamers by performance (average or peak CCV).
|
|
17953
17970
|
*
|