GOG 限免 API
GOG 商店当前限时免费(100% 折扣)的游戏
数据来源:GOG Catalog API
返回统一的 JSON 格式 { code, message, cached, stale, updatedAt, data },支持跨域,免注册每天可免费调用 100 次,注册后每天 10000 次。
获取 GOG 当前限时免费的游戏
GET /api/gog/free
请求参数
country:地区代码,例如 CN、US,示例CNcurrency:货币代码,例如 CNY、USD,示例CNY
返回字段
[].id(string):GOG 商品 ID(数字组成的字符串,如 "1207658691")[].slug(string):商品 slug(如 the_witcher_enhanced_edition),用于拼商店链接[].title(string):商品名称,如 The Witcher: Enhanced Edition[].type(string|null):商品类型:game 游戏,pack 合集包,dlc 追加内容,extras 附加内容;上游没有给出时为 null[].url(string):GOG 商店页面链接(上游给出的中文站链接,如 https://www.gog.com/zh/game/the_witcher_enhanced_edition);上游没有链接时拼成 https://www.gog.com/game/<slug>[].image(string|null):封面图链接,优先横版,没有则用竖版;都没有时为 null[].originalPrice(string|null):原价,GOG 格式化好的字符串,带货币符号(货币由参数 currency 决定,如 CNY 时为 ¥68.00);上游没有给出时为 null[].discount(string|null):折扣文本,带负号和百分号。本接口只返回限免条目,因此通常为 "-100%";上游没有给出时为 null[].developers(array):开发商名称(字符串数组),可能为空数组[].genres(array):类型名称(字符串数组,简体中文,如 角色扮演),可能为空数组[].releaseDate(string|null):游戏原始发行日期,上游原样返回,格式为 YYYY.MM.DD(如 2007.10.26),不含时间和时区;上游没有给出时为 null