Jump to content

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


trainux

Recommended Posts

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}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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