Comments (1)
你好,
为了减少插件维护成本,我们直接使用了格式化后的 API 数据①,但是由于 Avocado API 与 Mihomo API 开发者不同,二者对于 raw_data 的格式化结构不同②。对此的直接解决办法就是使用原始数据(raw_data)进行解析,这可能需要重构面板功能。但是由于目前开发者处于非活跃状态,许多功能缺乏维护,对于面板的重构这种大工程实施的可能性就更小了。
如果你有意向解决此问题,欢迎进行 pr :)
注:
①我们使用 StarRailData 等仓库里的游戏数据对 raw_data 进行解析,使 API 数据可读性增加。考虑到这些仓库文件错综复杂,我们将解析工作放到了服务器上,因此当游戏数据进行更新时,我们仅需更新服务器中的仓库即可,若将这些文件放到插件中,维护起来更加麻烦,也会增加插件的更新频率,使用难度提升。
②对于 Avocado 于 Mihomo,都有一套自己的解析数据结构,在前期并没有统一规范,导致了二者结构差异很大。详见 Avocado API 格式;Mihomo API 格式。但是我们的 API 都提供了原始数据:Mihomo API;Avocado API。这是未经处理的原始数据,数据结构是一致的。
from starrail-plugin.
Related Issues (20)
- 能给拓展面板图加个开关吗 HOT 1
- 体力 一直提示遇到验证码 HOT 1
- 指令冲突问题 HOT 2
- [星铁别名]未找到角色 HOT 2
- 载入插件错误:gatcha
- 大佬能做个nonebot的吗? HOT 1
- 青雀面板有异常?
- 获取兑换码时报错
- 启动报错 HOT 4
- Keeping in touch HOT 1
- 查询攻略4,5,6时报错 HOT 8
- #星铁绑定uid******,*角色显示未绑定
- 用【*卡片】指令查询群友的box时会显示Cookie不存在
- 虚构忘却深渊里面黑天鹅头像图裂了 HOT 2
- 查询角色面板报错
- puppeteer Chromium 启动中...然后就没反应了
- gitee拉取仓库地址错误
- 查询*末日报错:Cannot read properties of null (reading 'icon')] HOT 1
- 功能更新建议:`*深渊` 并列显示三深渊的战绩,新增一个 `*最新深渊` 来查询最新的深渊信息? HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from starrail-plugin.