oldwu's Blog - 一些米游社原神的API查询接口整理 的评论
type: channel
link: https://blog.oldwu.top/index.php/archives/25/
description: [card title="更新日志" color="success"]21.9.6更新，米游社更新了ds算法以及1,2,3接口地址和传入header21.11.6更新，更新了实时note查询接口...
items: pubovyszlj
items: PPCC2
items: heartalborada
items: 老嘤嗷
items: 御坂API
items: 是阿九阿
items: 222
items: zhouhua

pubovyszlj
type: item
date: 2025-03-01T08:36:42+08:00
description: ?幽默类评语?

PPCC2
type: item
date: 2022-05-23T22:36:41+08:00
description: 米游的接口是不是挂了,报错503 Service Temporarily Unavailable nginx :@(内伤)

heartalborada
type: item
date: 2022-05-20T23:59:25+08:00
description: 也许可以尝试整登录

老嘤嗷
type: item
date: 2022-05-03T16:24:46+08:00
description: 确实，正在找一种一键获取Cookie的方式

heartalborada
type: item
date: 2022-05-02T20:07:24+08:00
description: 有import hashlibimport jsonimport randomimport stringimport timefrom typing import Any, MappingOS_DS_SALT = "6cqshh5dhw73bzxn20oexa9k516chk7s"CN_DS_SALT = "xV8v4Qu54lUKrEYFZkJhB8cuOh9Asafs"def generate_ds() -> str:t = int(time.time()) r = "".join(random.choices(string.ascii_letters, k=6)) h = hashlib.md5(f"salt={OS_DS_SALT}&t={t}&r={r}".encode()).hexdigest() return f"{t},{r},{h}" def generate_cn_ds(body: Any = None, query: Mapping[str, Any] = None) -> str:''' Body: POST请求 query: GET请求 ''' t = int(time.time()) r = random.randint(100001, 200000) b = json.dumps(body) if body else "" q = "&".join(f"{k}={v}" for k, v in sorted(query.items())) if query else "" h = hashlib.md5(f"salt={CN_DS_SALT}&t={t}&r={r}&b={b}&q={q}".encode()).hexdigest() return f"{t},{r},{h}"

御坂API
type: item
date: 2022-04-15T21:12:05+08:00
description: 怎么做成php写的api接口，我不会这个写法啊，也不懂ds算法

是阿九阿
type: item
date: 2022-04-02T10:00:47+08:00
description: 我这里无论是否传入character_ids，传入什么内容都会返回所有角色的信息，而不是对应character_ids角色的信息

是阿九阿
type: item
date: 2022-04-01T10:23:43+08:00
description: 第二条api返回的数据是否为body中character_ids的数据？我这边使用api直接返回了所有角色的信息

222
type: item
date: 2022-03-28T09:34:01+08:00
description: ds有python算法代码吗

zhouhua
type: item
date: 2022-02-22T11:05:30+08:00
description: 好，谢谢~///(^v^)\\~