给攻略站与社区的公开工具

把 GTA VI 资料放进你的页面。

复制 Fact Card 或活动倒计时代码,也可通过公开 API 读取人物、地区与发售状态。

Lucia 与 Jason 出现在 GTA VI An Extended Look 官方主视觉中

一段代码,直接嵌入。

推荐宽度 560 像素、高度 260 像素。组件会自动倒计时,并链接回完整活动资料页。

  • 无需账号、SDK 或访问令牌
  • 适合博客、攻略站与社区公告页
  • 官方活动信息变化后由本站统一更新
<iframe src="https://coastlineindex.com/embed/countdown?utm_source=creator_embed&utm_medium=embed&utm_campaign=creator_kit" title="GTA VI official event countdown" width="560" height="260" loading="lazy"></iframe>

响应式页面可将 iframe 的宽度改为 100%,并保持 260 像素最小高度。

让事实卡跟着资料更新。

每张卡都包含官方事实、最后更新时间、来源链接和完整资料入口。下面三个预览就是访客实际看到的内容。

Lucia Caminos 人物事实卡

主角身份、家庭来历与故事起点,均对应 Rockstar 官方人物资料。

<iframe src="https://coastlineindex.com/embed/fact/lucia-caminos?utm_source=creator_embed&utm_medium=embed&utm_campaign=creator_kit" title="Lucia Caminos 人物事实卡" width="640" height="620" loading="lazy"></iframe>

Vice City 地区事实卡

城市所属与舞台定位,适合地图攻略、地区索引与社区百科。

<iframe src="https://coastlineindex.com/embed/fact/vice-city?utm_source=creator_embed&utm_medium=embed&utm_campaign=creator_kit" title="Vice City 地区事实卡" width="640" height="620" loading="lazy"></iframe>

GTA VI 发售信息卡

发售日期、首发平台与数字预购预载日期,统一从本站已核验数据生成。

<iframe src="https://coastlineindex.com/embed/fact/release?utm_source=creator_embed&utm_medium=embed&utm_campaign=creator_kit" title="GTA VI 发售信息卡" width="640" height="620" loading="lazy"></iframe>

其他人物、地区与资料条目也可使用同一地址格式:/embed/fact/[slug]

读取结构化资料

三个只读 JSON 接口可直接跨域请求。响应包含更新时间,适合引用资料或制作轻量组件。

资料集合

GET /api/entities
按人物类型筛选
fetch("https://coastlineindex.com/api/entities?type=character")
  .then((response) => response.json())
  .then(({ data, meta }) => {
    console.log(data, meta.updatedAt);
  });

支持 q、type 与 status 参数。集合响应包含 data、筛选条件、数量和 updatedAt。

单条资料

GET /api/entities/[slug]
读取 Lucia 档案
fetch("https://coastlineindex.com/api/entities/lucia-caminos")
  .then((response) => response.json())
  .then(({ data }) => console.log(data.facts));

返回实体、事实、官方来源与相关条目。无效 slug 返回结构化 404 错误。

引用时请保留来源。

数据来自 Rockstar Games、Newswire 与第一方商店。使用时请保留 Coastline Index 链接及相邻的官方来源,不要把公开画面整理写成 Rockstar 原文。