From 58c3c46b86e578291cdcb2b8b89bdb134c7c0dbf Mon Sep 17 00:00:00 2001 From: Masterain Date: Fri, 1 Sep 2023 02:38:05 -0700 Subject: [PATCH] Update Hutao API docs --- docs/en/features/hutao-API.md | 15 +++++++++++++-- docs/zh/features/hutao-API.md | 15 ++++++++++++--- 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/docs/en/features/hutao-API.md b/docs/en/features/hutao-API.md index f3132e1b3..8b4a7d2a2 100644 --- a/docs/en/features/hutao-API.md +++ b/docs/en/features/hutao-API.md @@ -1,7 +1,8 @@ --- headerDepth: 0 category: [Feature, Tutorial] -order: 7 +tag: [Spiral Abyss, Spiral Abyss Database, Spiral Abyss Analytics] +order: 8 comment: false --- @@ -72,7 +73,7 @@ data of **all** Genshin Impact players. The data is for reference only. ### Use Browser ::: info -This method does not support HoYoLab +This method does not support HoYoLAB ::: - Open our [JavaScript file](/upload-abyss-data.js), copy the entire content @@ -85,6 +86,16 @@ This method does not support HoYoLab - After confirm it, the browser will upload your abyss record, do not turn off your browser - You will receive a notification when your data is submitted +## Data Sharing + +Snap Hutao is contributing data to Hutao Database with other developers. You can view our Abyss Stats, and upload your +Abyss data in multiple applications other than Snap Hutao. +Currently, Snap Hutao is sharing Abyss data with following applications: + +1. [Miao-Plugin for Yunzai-Bot](https://github.com/yoimiya-kokomi/miao-plugin/tree/master) +2. [Pizza Helper for Genshin](https://apps.apple.com/us/app/pizza-helper-for-genshin/id1635319193) +3. WeChat Mini Program: Ysin + [^first]: When same character appearances in the same floor but different level, appearance time only count for 1 [^first-2]: When same character appearances in the same floor but different level, appearance time only count for 1 [^second]: Character constellation data is a separate data set from Spiral Abyss records database diff --git a/docs/zh/features/hutao-API.md b/docs/zh/features/hutao-API.md index 2d906848b..7a001f0ad 100644 --- a/docs/zh/features/hutao-API.md +++ b/docs/zh/features/hutao-API.md @@ -1,7 +1,8 @@ --- headerDepth: 0 category: [功能, 教程] -order: 7 +tag: [深境螺旋, 深渊, 深渊数据库] +order: 8 redirectFrom: /features/hutao-API.html comment: false --- @@ -63,12 +64,12 @@ comment: false - 点击右上角的`刷新数据`以确保胡桃工具箱客户端已经获取到最新的个人深境螺旋数据 - 点击右上角的`上传数据`以上传你的深境螺旋数据 - 这可能需要花费数秒,上传成功后你将会看到如下图的成功提示 - ![upload-hutaoapi](https://img.alicdn.com/imgextra/i3/1797064093/O1CN01Zt7yQp1g6duBDALeX_!!1797064093.png_.webp) + ![upload-hutaoapi](https://img.alicdn.com/imgextra/i1/1797064093/O1CN01yniArT1g6dyJIJHqK_!!1797064093.png_.webp) ### 使用浏览器 ::: info -该方法不适用于 HoYoLab +该方法不适用于 HoYoLAB ::: - 打开我们的 [JavaScript 脚本](/upload-abyss-data.js),复制全部内容 @@ -84,6 +85,14 @@ comment: false - 在确认后,浏览器将上传你的深渊数据,请勿关闭米游社页面 - 在上传完成后,浏览器会有确认完成的提示窗口 +## 数据共享 + +Snap Hutao 与其它开发者共同维护着胡桃数据库,你可以在多个应用中查看深渊统计数据并上传你的深渊数据。目前,Snap Hutao 正在与以下应用共享深渊数据: + +1. [Miao-Plugin for Yunzai-Bot](https://github.com/yoimiya-kokomi/miao-plugin/tree/master) +2. [原神披萨助手](https://apps.apple.com/cn/app/%E6%8A%AB%E8%90%A8%E5%B0%8F%E5%8A%A9%E6%89%8B/id1635319193) +3. 微信小程序 Ysin + [^first]: 在当前层中不同间内多次出现的同一个角色仅记 1 次出场次数 [^first-2]: 在当前层中不同间内多次出现的同一个角色仅记 1 次出场次数 [^second]: 角色持有数据与深境螺旋记录独立