Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusion with region #690

Open
xXLAOKOONXx opened this issue Jun 22, 2021 · 1 comment
Open

Confusion with region #690

xXLAOKOONXx opened this issue Jun 22, 2021 · 1 comment

Comments

@xXLAOKOONXx
Copy link
Contributor

xXLAOKOONXx commented Jun 22, 2021

I feel sometimes confused, what region value to use (Euw / Europe)

What do you think about breaking those values into different Enums?

Are Euw etc still in use for some apis?

MATCH => Europe, ...
SUMMONER => Euw, ...

@MingweiSamuel
Copy link
Contributor

MingweiSamuel commented Jun 24, 2021

Riot's docs list which platforms each endpoint supports: https://developer.riotgames.com/apis

In general the old LoL endpoints use EUW/EUNE/NA1, etc. while newer endpoints use AMERICAS/ASIA/EUROPE/ESPORTS. Separately, Valorant endpoints use AP/BR/EU/KR/LATAM/NA/ESPORTS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants