@mkterswingman/5mghost-twinkler 0.1.12 → 0.1.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mkterswingman/5mghost-twinkler",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "Lightweight AI helper for the 5mghost Twinkler API",
5
5
  "type": "module",
6
6
  "engines": {
@@ -57,6 +57,9 @@ missing and not inferable from context:
57
57
  game/category constraints.
58
58
  - Ordering: `watched`, `avgviewers`, `peakviewers`, `streamtime`,
59
59
  `mostfollowers`, `followergrowth`, or "latest streams".
60
+ - Timezone: required when reporting stream start/end times. If the user does
61
+ not specify one, default to `UTC+8` / `Asia/Shanghai` and say that briefly.
62
+ Always use the response `data.timezone` declaration when displaying times.
60
63
 
61
64
  Use these defaults only for low-risk exploratory asks, and say them briefly in
62
65
  the answer: `days=30`, `language=any`, `mature=include`, `page_size=25`.
@@ -97,7 +100,7 @@ Use `twinkler call` for one-off hosted API requests:
97
100
 
98
101
  ```bash
99
102
  twinkler call GET /api/v1/channel/ibai/summary --query days=30
100
- twinkler call GET /api/v1/channel/ibai/streams --query days=30 --query sort_by=avgviewers --query page=1 --query page_size=25
103
+ twinkler call GET /api/v1/channel/ibai/streams --query days=30 --query sort_by=avgviewers --query page=1 --query page_size=25 --query timezone=UTC+8
101
104
  twinkler call GET /api/v1/search --query 'q=Delta Force'
102
105
  twinkler call GET /api/v1/game/<selected_sullygnome_game_id>/channels --query days=365 --query sort_by=watched --query page=1 --query page_size=50
103
106
  twinkler call GET /api/v1/rankings/channels --query sort_by=mostfollowers --query days=30 --query page=1 --query page_size=25
@@ -111,7 +114,10 @@ candidates.
111
114
  Pick the smallest API that answers the question:
112
115
 
113
116
  - Channel profile/current history: `/channel/{name}/summary`.
114
- - A channel's recent broadcasts: `/channel/{name}/streams`.
117
+ - A channel's recent broadcasts: `/channel/{name}/streams`; include
118
+ `timezone=<user choice>` when stream start/end times will be shown. The route
119
+ defaults to `UTC+8` and returns `data.timezone`, plus row-level `start_time`
120
+ and `end_time` converted from the upstream UTC `startDateTime`.
115
121
  - A channel's games: `/channel/{name}/games`.
116
122
  - Stream-session chart or game splits: `/channel/{name}/stream/{stream_id}/chart`
117
123
  and `/games`.