trainux Posted July 8, 2018 Posted July 8, 2018 Using this api as a base I consult as follows (as the post says): rsExchange.getExchangeItem("Yew logs").ifPresent(System.out::println); It works well, but if I consult another item like "Clay" it does not work, the value it brings of the page is "-1" in all prices. I manually check the link and return the json with the prices. http://api.rsbuddy.com/grandExchange?a=guidePrice&i=434 The next json throws me: {"overall":136,"buying":140,"buyingQuantity":33,"selling":136,"sellingQuantity":867}
01053 Posted July 8, 2018 Posted July 8, 2018 Looks like that link is down currently so that could be your issue?
digdig18 Posted July 13, 2018 Posted July 13, 2018 You should make an abstract class so return item values... I'm not sure if java sleep thread to return the response