package gg.buff.dorans.objects;

public enum Region {
    NA("NA1", "https://na.api.pvp.net/"),
    EUW("EUW1", "https://euw.api.pvp.net/"),
    EUNE("EUN1", "https://eune.api.pvp.net/"),
    KR("KR", "https://kr.api.pvp.net/"),
    BR("BR1", "htpp://br.api.pvp.net/"),
    LAS("LA2", "htpp://las.api.pvp.net/"),
    LAN("LA1", "htpp://lan.api.pvp.net/"),
    OCE("OC1", "htpp://oce.api.pvp.net/"),
    TR("TR1", "htpp://tr.api.pvp.net/"),
    RU("RU", "htpp://ru.api.pvp.net/"),
    GLOBAL("", "htpp://global.api.pvp.net/");

    private final String platformId;
	private final String endpoint;
	private final String observerUrl;
	private final String resourceUrl;

    private Region(String platformId, String endpoint) {
        this.platformId = platformId;
	    this.endpoint = endpoint;
	    this.observerUrl = endpoint + "observer-mode/rest/";
	    this.resourceUrl = endpoint + "api/lol/";
    }

    public String getPlatformId() {
        return platformId;
    }

	public String getEndpoint() {
		return endpoint;
	}

	public String getObserverUrl() {
		return observerUrl;
	}

	public String getResourceUrl() {
		return resourceUrl;
	}

	@Override
    public String toString() {
        return name().toLowerCase();
    }
}

@@ -239,18 +239,19 @@
 R1%22, %22ht
-pp
+tps
 ://br.ap
@@ -278,26 +278,27 @@
 S(%22LA2%22, %22ht
-pp
+tps
 ://las.api.p
@@ -326,18 +326,19 @@
 A1%22, %22ht
-pp
+tps
 ://lan.a
@@ -370,18 +370,19 @@
 C1%22, %22ht
-pp
+tps
 ://oce.a
@@ -413,18 +413,19 @@
 R1%22, %22ht
-pp
+tps
 ://tr.ap
@@ -454,18 +454,19 @@
 RU%22, %22ht
-pp
+tps
 ://ru.ap
@@ -501,10 +501,11 @@
  %22ht
-pp
+tps
 ://g

Fix typo in regions