Henrik-3 / unofficial-valorant-api

Unofficial VALORANT API using the VALORANT Ingame API
442 stars 19 forks source link

Premier API Endpoints doesn't seem to work for EU_WEST #71

Closed danielhass closed 5 months ago

danielhass commented 8 months ago

Hi @Henrik-3,

first of all thank you some much for this awesome API! We are currently using it to develop a chatbot that helps clans to organize games and schedules. The data from your API has been more then helpful for this task.

We are currently looking into premier match automation and are interested in the current Premier points of a single team.

We noticed that the /valorant/v1/premier/{team_name}/{team_tag} doesn't seem to work for all teams? Furthermore the /valorant/v1/premier/leaderboard/{affinity}/{conference} endpoint doesn't seem to respond with data if e.g. /eu/EU_WEST.

For that reason we currently assume that some divisions are conferences are missing?

Are you aware of this problem? Or are we doing something wrong?

raimannma commented 8 months ago

See: https://discord.com/channels/704231681309278228/704271846106857492/1150863178977255566

Henrik-3 commented 8 months ago

Heyho, I will take a look if there are some other workarounds meanwhile since last time I checked.

Otherwise refer to the message from Manuel ^^

Henrik-3 commented 8 months ago

EU_WEST is not a thing anymore, this was a bug in how the list of conferences is provided I updated the logic to fix this issue, please confirm.

The team issue stays the same, only conferences fix for now ^^ For the team endpoint, use the search endpoint as an replacment for now as manuel said

danielhass commented 8 months ago

@Henrik-3 wow - thanks for the quick changes 🚀

The affinity/conference endpoint now displays a proper error when querying for EU_WEST. With EU_DACH I was able to find our team now just fine!

The team search endpoint now shows a proper 500 error.

The only thing I noticed is that the Swagger definitions for affinity/conference still display the old conferences.