five

Game Quiz

收藏
RapidAPI2025-10-04 更新2024-09-21 收录
下载链接:
https://rapidapi.com/devsdocs/api/game-quiz
下载链接
链接失效反馈
官方服务:
资源简介:
Build fun trivia apps with the Game Quiz API! Get questions for popular games like Mario Kart, GTA, and Fortnite. Test your gaming knowledge with this quiz API. Get trivia questions on various video games, including genres, characters, and game history. Perfect for developers looking to integrate fun and engaging gaming quizzes into their applications. Powered by data from IGDB.
创建时间:
2025-10-04
原始信息汇总

Game Quiz API 数据集概述

基本信息

  • API名称: Game Quiz
  • API提供商: devsdocs
  • 订阅计划:
    • BASIC: $0.00 / mo
    • PRO: $10.00 / mo
    • ULTRA: $15.00 / mo
    • MEGA: $20.00 / mo
  • 订阅人数: 47
  • 分类: Gaming
  • 数据来源: IGDB (Internet Game Database)

API功能

  • 提供多样化的游戏相关问答,包括视频游戏历史、角色、机制和类型等内容。
  • 适用于移动游戏、网站等平台的问答内容集成。
  • 支持自定义难度级别、问答类别等功能。

数据结构

根对象

  • status (string): API响应状态(如"ok")。
  • data (array): 问答对象列表。

问答对象

  • id (string): 问答条目的唯一标识符。
  • category_id (string): 问答所属类别的ID。
  • question (string): 问答问题。
  • options (object): 包含答案选项。
    • is_image (boolean): 正确答案是否为URL。
    • correct (string or URL): 正确答案。
    • incorrect (array of strings or URLs): 错误答案列表。
  • extra (object): 额外上下文信息。
    • type (string): 额外信息类型(image_urlgame_name)。
    • content (string or URL): 额外信息内容。
  • reference (array of strings): 相关参考URL列表。

示例条目

角色昵称问答

json { "id": "FDxXUkREVwUjBQ==", "category_id": "FDxVGUY=", "type": "mcq", "question": "What are this character’s alternate names or nicknames?", "language": "en", "options": { "is_image": false, "correct": "Peach", "incorrect": ["Cowboy", "Lenha", ""the Super Ninja""] }, "extra": { "type": "image_url", "content": "xwp5p9deiutkziy4qpxr.webp" }, "reference": ["https://www.igdb.com/characters/princess-peach"] }

游戏封面问答

json { "id": "FDxVVUZEHEhqSW8=", "category_id": "FDxRGUY=", "type": "mcq", "question": "Which game cover features this character?", "language": "en", "options": { "is_image": true, "correct": "t_720p/co1n1z.webp", "incorrect": [ "co1n1w.webp", "co1nrn.webp", "co4aro.webp" ] }, "extra": { "type": "image_url", "content": "g33rtnyeoeaprsdf6l9p.webp" }, "reference": ["https://www.igdb.com/characters/aigis--1"] }

缓存与会话

  • 缓存: 每个唯一请求的问答响应会在服务器端缓存1小时,可通过设置refresh参数为true绕过缓存。
  • 会话: 创建并提供会话令牌可确保每次请求的问答唯一,会话有效期为6小时,仅适用于Random端点。

使用建议

  • 建议在客户端保存问答内容,因为服务器不缓存问答。
  • 问答id与问题上下文绑定,相同id可能生成不同的问题句子和错误选项。
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作