Made rs3 search methods public

This commit is contained in:
Salmonllama 2020-09-14 09:25:12 -04:00
parent 6c3f4c27bf
commit 2fde19f703

View File

@ -72,7 +72,7 @@ public class ScapeFashionConnection {
return response; return response;
} }
private ScapeFashionResult rs3Color(String color) throws Exception { public ScapeFashionResult rs3Color(String color) throws Exception {
String uri = RS3_REQUEST_URL + "/colors/" + encode(color); String uri = RS3_REQUEST_URL + "/colors/" + encode(color);
String link = RS3_LINK_URL + "/colors/" + encode(color); String link = RS3_LINK_URL + "/colors/" + encode(color);
@ -81,7 +81,7 @@ public class ScapeFashionConnection {
return response; return response;
} }
private ScapeFashionResult rs3Color(String color, ScapeFashionSlotRs3 slot) throws Exception { public ScapeFashionResult rs3Color(String color, ScapeFashionSlotRs3 slot) throws Exception {
String uri = RS3_REQUEST_URL + "/colors/" + encode(color) + "?slot=" + encode(slot.getValue()); String uri = RS3_REQUEST_URL + "/colors/" + encode(color) + "?slot=" + encode(slot.getValue());
String link = RS3_LINK_URL + "/colors/" + encode(color) + "?slot=" + encode(slot.getValue()); String link = RS3_LINK_URL + "/colors/" + encode(color) + "?slot=" + encode(slot.getValue());
@ -90,7 +90,7 @@ public class ScapeFashionConnection {
return response; return response;
} }
private ScapeFashionResult rs3Item(String item) throws Exception { public ScapeFashionResult rs3Item(String item) throws Exception {
String uri = RS3_REQUEST_URL + "/items/" + encode(item); String uri = RS3_REQUEST_URL + "/items/" + encode(item);
String link = RS3_LINK_URL + "/items/" + encode(item); String link = RS3_LINK_URL + "/items/" + encode(item);
@ -102,7 +102,7 @@ public class ScapeFashionConnection {
return response; return response;
} }
private ScapeFashionResult rs3Item(String item, ScapeFashionSlotRs3 slot) throws Exception { public ScapeFashionResult rs3Item(String item, ScapeFashionSlotRs3 slot) throws Exception {
String uri = RS3_REQUEST_URL + "/items/" + encode(item) + "?slot=" + encode(slot.getValue()); String uri = RS3_REQUEST_URL + "/items/" + encode(item) + "?slot=" + encode(slot.getValue());
String link = RS3_LINK_URL + "/items/" + encode(item) + "?slot=" + encode(slot.getValue()); String link = RS3_LINK_URL + "/items/" + encode(item) + "?slot=" + encode(slot.getValue());