【技术转载】[工具] 第三方工具开发者请看过来 第七史诗 游戏数据库+API 支持 简中 繁中 等9种语言
本文及技术作者源于NGA Triatk 大佬
PY了3个多月,终于完成了数据库的中文部分
我之前参与的 [迷宫心情模拟器] 就是基于这个API制作的
本数据库由多国爱好者共同维护,中文版主页:
[https://epicsevendb.com/cn] (可以查询英雄/神器/物品数据)
github项目页:
[https://github.com/EpicSevenDB]
网站:[https://github.com/EpicSevenDB/ui]
数据库:[https://github.com/EpicSevenDB/gamedatabase]
API:[https://github.com/EpicSevenDB/api]
API:
[https://gamekee.com/]
简要使用说明:
例如要获取全部英雄列表:
支持的语言代码有 'es', 'pt', 'fr', 'ja', 'jp', 'kr', 'ko', 'de', 'zht', 'cn' 其中 zht为繁中 cn为简中
例子:
[https://gamekee.com/hero?lang=cn]
返回:
![【技术转载】[工具] 第三方工具开发者请看过来 第七史诗 游戏数据库+API 支持 简中 繁中 等9种语言](https://gamekee.com/attachments/mon_202006/06/huQ5-65m3ZkT3cSdj-pq.jpg)
注意:列表的最后的几个为NPC,大部分时候可以从英雄列表里去掉
某个英雄的详细信息:
例子:
[https://gamekee.com/hero/c2038?lang=cn]
返回:
![【技术转载】[工具] 第三方工具开发者请看过来 第七史诗 游戏数据库+API 支持 简中 繁中 等9种语言](https://gamekee.com/attachments/mon_202006/06/huQ5-510yZmT3cSp9-el.jpg)
英雄头像:
[图标]
[横条(右)]
[横条(左)]
例子:
[图标] [https://assets.epicsevendb.com/_source/face/c2038_s.png]
![【技术转载】[工具] 第三方工具开发者请看过来 第七史诗 游戏数据库+API 支持 简中 繁中 等9种语言](https://assets.epicsevendb.com/_source/face/c2038_s.png)
[横条(右)][https://assets.epicsevendb.com/_source/face/c2038_su.png]
![【技术转载】[工具] 第三方工具开发者请看过来 第七史诗 游戏数据库+API 支持 简中 繁中 等9种语言](https://assets.epicsevendb.com/_source/face/c2038_su.png)
[横条(左)][https://assets.epicsevendb.com/_source/face/c2038_l.png]
![【技术转载】[工具] 第三方工具开发者请看过来 第七史诗 游戏数据库+API 支持 简中 繁中 等9种语言](https://assets.epicsevendb.com/_source/face/c2038_l.png)
此外还有:
获取神器列表:[https://gamekee.com/artifact]
获取神器详情:
获取专属装备列表:[https://gamekee.com/ex_equip]
获取专属装备详情:
等等功能,以此类推
开发者可以利用这个api方便地制作出一些小工具。
我之前参与的 [迷宫心情模拟器] 就是基于这个API制作的
本数据库由多国爱好者共同维护,中文版主页:
[https://epicsevendb.com/cn] (可以查询英雄/神器/物品数据)
github项目页:
[https://github.com/EpicSevenDB]
网站:[https://github.com/EpicSevenDB/ui]
数据库:[https://github.com/EpicSevenDB/gamedatabase]
API:[https://github.com/EpicSevenDB/api]
API:
[https://gamekee.com/]
简要使用说明:
例如要获取全部英雄列表:
Code xml:
https://gamekee.com/hero?lang=语言代码
支持的语言代码有 'es', 'pt', 'fr', 'ja', 'jp', 'kr', 'ko', 'de', 'zht', 'cn' 其中 zht为繁中 cn为简中
例子:
[https://gamekee.com/hero?lang=cn]
返回:
![【技术转载】[工具] 第三方工具开发者请看过来 第七史诗 游戏数据库+API 支持 简中 繁中 等9种语言](https://gamekee.com/attachments/mon_202006/06/huQ5-65m3ZkT3cSdj-pq.jpg)
注意:列表的最后的几个为NPC,大部分时候可以从英雄列表里去掉
某个英雄的详细信息:
Code xml:
https://gamekee.com/hero/英雄ID?lang=语言代码
例子:
[https://gamekee.com/hero/c2038?lang=cn]
返回:
![【技术转载】[工具] 第三方工具开发者请看过来 第七史诗 游戏数据库+API 支持 简中 繁中 等9种语言](https://gamekee.com/attachments/mon_202006/06/huQ5-510yZmT3cSp9-el.jpg)
英雄头像:
[图标]
Code xml:
https://assets.epicsevendb.com/_source/face/' + 英雄ID + '_s.png
[横条(右)]
Code xml:
https://assets.epicsevendb.com/_source/face/' + 英雄ID + '_su.png
[横条(左)]
Code xml:
https://assets.epicsevendb.com/_source/face/' + 英雄ID + '_l.png
例子:
[图标] [https://assets.epicsevendb.com/_source/face/c2038_s.png]
![【技术转载】[工具] 第三方工具开发者请看过来 第七史诗 游戏数据库+API 支持 简中 繁中 等9种语言](https://assets.epicsevendb.com/_source/face/c2038_s.png)
[横条(右)][https://assets.epicsevendb.com/_source/face/c2038_su.png]
![【技术转载】[工具] 第三方工具开发者请看过来 第七史诗 游戏数据库+API 支持 简中 繁中 等9种语言](https://assets.epicsevendb.com/_source/face/c2038_su.png)
[横条(左)][https://assets.epicsevendb.com/_source/face/c2038_l.png]
![【技术转载】[工具] 第三方工具开发者请看过来 第七史诗 游戏数据库+API 支持 简中 繁中 等9种语言](https://assets.epicsevendb.com/_source/face/c2038_l.png)
此外还有:
获取神器列表:[https://gamekee.com/artifact]
获取神器详情:
Code xml:
https://gamekee.com/artifact/神器ID
获取专属装备列表:[https://gamekee.com/ex_equip]
获取专属装备详情:
Code xml:
https://gamekee.com/ex_equip/专属装备ID
等等功能,以此类推
开发者可以利用这个api方便地制作出一些小工具。





