Jump to content

GE prices API alternative


dokato
 Share

Recommended Posts

51 minutes ago, dokato said:

Hi, 

Is there an alternative for the rsbuddy api? It's always down for some reason.

Thx in advance

Like H0rn posted, you can use the official rs API.

I would probably recommend writing some code to use the rsbuddy API, and when a price fetch fails, fallback to the official osrs API.

I would also recommend using a JSON library like JSON simple, it's just easier to maintain.

I think I have some code in one of my scripts to do the above, will post later when I can

  • Like 1
Link to comment
Share on other sites

30 minutes ago, Explv said:

Like H0rn posted, you can use the official rs API.

I would probably recommend writing some code to use the rsbuddy API, and when a price fetch fails, fallback to the official osrs API.

I would also recommend using a JSON library like JSON simple, it's just easier to maintain.

I think I have some code in one of my scripts to do the above, will post later when I can

 

34 minutes ago, H0rn said:

 

Thanks guys, 

I know there is the official OSRS GE API but it's far from accurate when it comes to prices, therefore i wanted to use the rsbuddy api. 

I just want to know if there is another one with good accuracy.

Link to comment
Share on other sites

4 minutes ago, dokato said:

 

Thanks guys, 

I know there is the official OSRS GE API but it's far from accurate when it comes to prices, therefore i wanted to use the rsbuddy api. 

I just want to know if there is another one with good accuracy.


There's also the osrs wiki prices, although I'm really not sure where they get them from. http://oldschoolrunescape.wikia.com/wiki/Exchange:Raw_lobster

  • Like 1
Link to comment
Share on other sites

52 minutes ago, dokato said:

 

Thanks guys, 

I know there is the official OSRS GE API but it's far from accurate when it comes to prices, therefore i wanted to use the rsbuddy api. 

I just want to know if there is another one with good accuracy.

Another alternative is to use: https://storage.googleapis.com/osbuddy-exchange/summary.json

Or the version hosted on rsbuddy's site https://rsbuddy.com/exchange/summary.json  (may have the same issue of going down, not sure)

You can download the file to the user's data directory, and then read it using a json library.

RSB_Fox gave this link on reddit a few months ago:

Edited by Explv
  • Like 1
  • Heart 1
Link to comment
Share on other sites

15 hours ago, Explv said:

Another alternative is to use: https://storage.googleapis.com/osbuddy-exchange/summary.json

Or the version hosted on rsbuddy's site https://rsbuddy.com/exchange/summary.json  (may have the same issue of going down, not sure)

You can download the file to the user's data directory, and then read it using a json library.

RSB_Fox gave this link on reddit a few months ago:

That is super usefull! 

Thanks alot bro!

  • Like 1
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.

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.

 Share

  • Recently Browsing   0 members

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