genshin.py
genshin.py copied to clipboard
get_banner_details still returns 4.0 first phase banners
Hey! It seems like the API is no longer returning the up-to-date banners, it seems to be stuck on Lyney-Yelan banners. Here's how the output looks:
async def getbanners():
banners = await client.get_banner_details(game = genshin.types.Game.GENSHIN)
for banner in banners:
print(banner.name)
>>> asyncio.run(getbanners())
Standard Wish "Wanderlust Invocation"
Event Wish "Conjuring Chiaroscuro"
Event Wish "Discerner of Enigmas"
Event Wish "Epitome Invocation"
"Conjuring Chiaroscuro" is the Lyney banner, which should have been gone a few days ago.
Yeah looks like hoyo stopped updating that endpoint, gotta hope it comes to enka.
I've started extracting the banner data links from the in-game client and reading them from a gist myself. I will be updating this with every banner, you could use my gist in the meanwhile if you'd like.
The endpoint moved, I think.
Yep I've been using that endpoint over manually updating my gist too, works wonderfully.