genshindev / api

A fan-made Genshin Impact API for easy access to game data.
https://genshin.jmp.blue
Open Software License 3.0
702 stars 196 forks source link

Fixed Wanderer's Character Description #249

Closed GiordanDelaCruz closed 9 months ago

GiordanDelaCruz commented 9 months ago

Wanderer's old character description was for Xiao.

GiordanDelaCruz commented 9 months ago

Thank you for approving the changes!

Additionally, I was hoping you could answer a question I am lost with; Question: I am not sure how to retrieve photos using the API.

I would like to use the API to get data and PICTURES about the characters for a web application. Thank you,

man90es commented 9 months ago

@GiordanDelaCruz you can retrieve character pictures like this https://genshin.jmp.blue/characters/albedo/card, where the last part after / is the name of a file from this directory https://github.com/genshindev/api/tree/mistress/assets/images/characters/albedo like "card", "icon", "portrait", etc.

Not every character has all the images, but you are welcome to contribute — readme describes how to do it