获取Reddit APP游戏推荐内容/Fetch Reddit APP Games Feed
Changed on[中文]
用途:
- 获取Reddit APP游戏相关的推荐内容,展示游戏社区的热门帖子
参数:
- sort: 排序方式,可选: NEW(最新), HOT(热门), TOP(顶级), RISING(上升中)
- time: 时间范围,可选: ALL(全部时间), HOUR(一小时), DAY(一天), WEEK(一周), MONTH(一个月), YEAR(一年)
- after: 分页参数,获取下一页时使用
返回:
- 游戏推荐内容JSON数据,包含:
- 游戏相关帖子列表
- 游戏社区讨论
- 游戏新闻和更新
[English]
Purpose:
- Fetch gaming-related recommended content on Reddit APP, displaying popular posts from gaming communities
Parameters:
- sort: Sort method, options: NEW, HOT, TOP, RISING
- time: Time range, options: ALL, HOUR, DAY, WEEK, MONTH, YEAR
- after: Pagination parameter for fetching next page
Returns:
- JSON data of games feed containing:
- List of gaming-related posts
- Gaming community discussions
- Game news and updates
[示例/Example]
sort="HOT" time="WEEK" after="" need_format=false
Request
- Base URLhttps://api.tikhub.io (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Query parameters
返回内容使用的语言,采用 IETF 语言标签;默认 en-US / Preferred response language as an IETF language tag; default: en-US
排序方式/Sort method: NEW, HOT, TOP, RISING
时间范围/Time range: ALL, HOUR, DAY, WEEK, MONTH, YEAR
分页参数/Pagination parameter
是否需要清洗数据/Whether to clean and format the data
Response
Successful Response
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- breaking
the
queryrequest parametersortwas restricted to a list of enum values - breaking
the
queryrequest parametertimewas restricted to a list of enum values - warning
for the
queryrequest parameterafter, the maxLength was set to4096 - info
added the new optional
queryrequest parameterlanguage - info
added the new enum value
ALLto thequeryrequest parametertime - info
added the new enum value
BESTto thequeryrequest parametersort - info
added the new enum value
CONTROVERSIALto thequeryrequest parametersort - info
added the new enum value
DAYto thequeryrequest parametertime - info
added the new enum value
HOTto thequeryrequest parametersort - info
added the new enum value
HOURto thequeryrequest parametertime - info
added the new enum value
MONTHto thequeryrequest parametertime - info
added the new enum value
NEWto thequeryrequest parametersort - info
added the new enum value
RISINGto thequeryrequest parametersort - info
added the new enum value
TOPto thequeryrequest parametersort - info
added the new enum value
WEEKto thequeryrequest parametertime - info
added the new enum value
YEARto thequeryrequest parametertime
- breaking