Jump to content

attempt to consult, by rsbuddy, the price of an item


Recommended Posts

Posted

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}

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...