A simple and convenient model for Mihoyo API which is complemented by other resources
pip install honkairail
from honkairail import starrailapi
import asyncio
async def main(uid,lang):
r = starrailapi.StarRailApi(lang, v = 2)
data = await r.get_full_data(uid)
print(data)
asyncio.run(main(700649319,"en"))
Languege | Code | Languege | Code | Languege | Code |
---|---|---|---|---|---|
English | en | русский | ru | Chinese | chs |
Tiếng Việt | vi | ไทย | th | Taiwan | cn |
português | pt | 한국어 | kr | deutsch | de |
日本語 | jp | 中文 | cn | español | es |
中文 | zh | Indonesian | id | français | fr |
Український | ua |