Forums

Runescape Application API

Quick find code: 278-279-705-66164125

Astral Sub0

Astral Sub0

Posts: 11 Bronze Posts by user Forum Profile RuneMetrics Profile
Hi, So I have been learning a lot about cloud services and front end development and want to make my foundations strong on the same. Since I have been playing Runescape for a lot of time, I want to make a portal kind of thing ( still a crude idea ) based on the grand exchange API and some of the other API.

I have already looked at a previous post by the user Flareline ( Forum Link - > https://secure.runescape.com/m=forum/forums?278,279,206,66080352,goto,1 ) and am not sure whether they got their idea off the ground cause the last log on the account was December 2019.

So the basic idea is almost similar to what Flareline had but as of now, I won't be going so in-depth according to what he envisioned. It is going to be a simple web portal where we can track the get prices, trends, Most traded, biggest falls, etc. I know they are already a part of the Ge services offered but this would be my first iteration and after this will add different stuff as well.


So if it is possible to contact someone who has been working on the API or were successful in creating a service, I would be honored to learn from them.

Thanks and Regards

Astral Sub0

05-Jun-2020 05:28:51

Maynne

Maynne

Forum Moderator Posts: 52,416 Emerald Posts by user Forum Profile RuneMetrics Profile
An admirable goal you have there I believe.

I'm not really comfortable of suggesting this, as I want discussions to be made here in RSOF, but my practical side wins this time around than my idealistic mind. I think you will get better chance of receiving a Jmod feedback, if you raise that concern in Runescape Reddit or Facebook page.

05-Jun-2020 16:54:23

Applejuiceaj
Nov
fmod Member
2011

Applejuiceaj

Forum Moderator Posts: 44,941 Sapphire Posts by user Forum Profile RuneMetrics Profile
If it helps, all of the available API endpoints that are out there are documented on the RuneScape Wiki:
https://runescape.wiki/w/Application_programming_interface


There is plenty of information on the various arguments that can be passed to the endpoints, as well as how to decipher the output that it returns. With that information, you should be able to use a library that can query the endpoint for the information, parse the info that is returned (there's an example response for many of them), and use it as you wish in your application.

I haven't used most of the endpoints listed on that page, but I did write a PHP based application a few years back that makes use of the Hiscores endpoint to assist my clan in their skill competitions and for tracking activity of members - I used curl to obtain the data, and then had code to parse it and determine the line I was after and then could use the information in that line to populate my database/perform experience gain calculations and such. I've recently rewritten part of it to use a different language and framework (mainly just for the experience in trialing out that framework), but the process was the same - query for the information, parse it, and then make use of it.

06-Jun-2020 02:15:22

Astral Sub0

Astral Sub0

Posts: 11 Bronze Posts by user Forum Profile RuneMetrics Profile
Maynne said :
An admirable goal you have there I believe.

I'm not really comfortable of suggesting this, as I want discussions to be made here in RSOF, but my practical side wins this time around than my idealistic mind. I think you will get better chance of receiving a Jmod feedback, if you raise that concern in Runescape Reddit or Facebook page.


I doubt I shall receive feedback from the Mods themselves but will try the same. Thanks

06-Jun-2020 06:43:39

Astral Sub0

Astral Sub0

Posts: 11 Bronze Posts by user Forum Profile RuneMetrics Profile
Applejuiceaj said :
If it helps, all of the available API endpoints that are out there are documented on the RuneScape Wiki:
https://runescape.wiki/w/Application_programming_interface


There is plenty of information on the various arguments that can be passed to the endpoints, as well as how to decipher the output that it returns. With that information, you should be able to use a library that can query the endpoint for the information, parse the info that is returned (there's an example response for many of them), and use it as you wish in your application.

I haven't used most of the endpoints listed on that page, but I did write a PHP based application a few years back that makes use of the Hiscores endpoint to assist my clan in their skill competitions and for tracking activity of members - I used curl to obtain the data, and then had code to parse it and determine the line I was after and then could use the information in that line to populate my database/perform experience gain calculations and such. I've recently rewritten part of it to use a different language and framework (mainly just for the experience in trialing out that framework), but the process was the same - query for the information, parse it, and then make use of it.


Yeah, I did go through the link which you have provided. This link looks a bit more understandable and friendly compared to the fandom one ( Just my View ). Thanks for giving me the push in the right direction.

Cheers!
:)

06-Jun-2020 06:51:51

Mod Lyon

Mod Lyon

Jagex Moderator Forum Profile Posts by user
Maynne said :
An admirable goal you have there I believe.

I'm not really comfortable of suggesting this, as I want discussions to be made here in RSOF, but my practical side wins this time around than my idealistic mind. I think you will get better chance of receiving a Jmod feedback, if you raise that concern in Runescape Reddit or Facebook page.


False. As I have consistently stressed, the best place currently for the web team to see feedback, issues or suggestions is in this forum. I read every thread and every post that is made. If not here, as I indicated in the thread OP linked to, Twitter if someone would prefer.

@Astral Sub0, I saw your thread earlier but assumed you were hoping to discuss with other external developers. Always happy to answer any questions you may have either here or on Twitter as I mentioned again in the original thread you linked.

The unfortunate reality of the API is it was never intended for public use and is not something that those in charge of deciding what we work on see as a current priority. However, always happy to answer questions and collate feedback to those that might have it to provide :)

Also noteworthy, the RS Wiki team have moved to their own site (https://rs.wiki) which is supported officially by Jagex, whereas the fandom site is considerably out of date and we do not have a relationship with fandom the company or those that maintain the RuneScape fandom (if they still exist). For anything up to date, you are much better off going to the officially supported site, as much of the material (including the entire Archaeology skill) is not updated on fandom.
Jagex Web Team

Twitter - @JagexLyon

08-Jun-2020 13:21:01

Hmm
Jan Member 2016

Hmm

Posts: 13,000 Opal Posts by user Forum Profile RuneMetrics Profile
Well, unfortunately I do think Louillen is right in the general sense. Your team is basically the only one I know who consistently actually reads the forums rigorously, and I'm thankful for that. But then there's issues elsewhere that require developer attention, like the Linux client is once again acting up and there's a majority of it's player base who once again can't play it; there's hundreds of people posting about that in the tech support forums, and it isn't being looked at at all as far as I'm aware, because where are we supposed to actually go to?

So to put it plainly, you individually and you as the team do a much better job of interacting with the player base than what the "rest" of Jagex do (obviously, I say this as a whole and there's other Jmods I'm very thankful to), so thanks to you, but the rest of them are tarnishing the companies reputation as a whole, by choosing to funnel peoples problems and complaints to places they then know they aren't actually looking at them.

There was an unsanitised input on the G.E API problem you had to deal with last month. I remember thinking to myself reading it, it was irresponsible of the user because I know you would have actually have responded, but also knowing the rest of Jagex, I could absolutely understand why they felt they had no other alternative.

More specifically to this thread, I think the fandom wiki does have some paid editors from Fandom itself who try to maintain it. It was the single biggest wiki they had in terms of hits IIRC, so they didn't want to abandon that advertising revenue so easily; but I think they aren't capable of keeping up in reality so it's decaying rapidly.

A question I would have for the API itself is what is the rate limiting on the endpoints? There's no real known information about it absolutely, I think the closest I've seen is you get something like 5 requests unconditionally and then one per minute thereafter but I don't know how accurate any of that is.

08-Jun-2020 13:46:11 - Last edited on 08-Jun-2020 14:00:15 by Hmm

Mod Lyon

Mod Lyon

Jagex Moderator Forum Profile Posts by user
Hmm said :
Well, unfortunately I do think Louillen is right in the general sense. Your team is basically the only one I know who consistently actually reads the forums rigorously, and I'm thankful for that. But then there's issues elsewhere that require developer attention, like the Linux client is once again acting up and there's a majority of it's player base who once again can't play it; there's hundreds of people posting about that in the tech support forums, and it isn't being looked at at all as far as I'm aware, because where are we supposed to actually go to?

So to put it plainly, you individually and you as the team do a much better job of interacting with the player base than what the "rest" of Jagex do (obviously, I say this as a whole and there's other Jmods I'm very thankful to), so thanks to you, but the rest of them are tarnishing the companies reputation as a whole, by choosing to funnel peoples problems and complaints to places they then know they aren't actually looking at them.


I can't speak to other teams, but part of the reason they're on other platforms is they too have followed many of the players, and the forums we have in place do not help with that or continuing a discussion thanks to the lack of notifications and general QoL / usability features, especially when we aren't WFH its much more difficult to log in and participate in the discussion in general.

I will say, specifically of the Linux issue the team involved in that process have never been very 'community facing' preferring to get on with the job at hand, which is just as valid as spending your time sitting on the forums. They aren't on twitter or reddit either (if they are, not much) so nothing would change if we had the best forums in the world.

Other teams Twitter or reddit might be better, but my post was explicitly about the web team and that remains true.

Original message details are unavailable.
There was an unsanitised input on the G.E API problem you had to deal with last month. I remember thinking to myself reading it, it was irresponsible of the user because I know you would have actually have responded, but also knowing the rest of Jagex, I could absolutely understand why they felt they had no other alternative.


I won't say too much on that, but speaking generally we much prefer if users would follow a reasonable disclosure avenue as obviously we would fix severe security incidents if they were raised. 1am on a Saturday morning publicly for the first time and without reasonable notice so a poor developer has to be called out and we need to spend the weekend on edge isn't any sorts of good. We certainly appreciate them being raised to our attention though and will always work to keep the services we provide secure.

Original message details are unavailable.
A question I would have for the API itself is what is the rate limiting on the endpoints? There's no real known information about it absolutely, I think the closest I've seen is you get something like 5 requests unconditionally and then one per minute thereafter but I don't know how accurate any of that is.


As I've maintained elsewhere, we don't explicitly provide those numbers due to the flakiness of the system and its simplicity. Ultimately, use the service reasonably and with the health of it in mind and you shouldn't have any issues. We know its out of date, we know its not ideal.
Jagex Web Team

Twitter - @JagexLyon

08-Jun-2020 14:25:56 - Last edited on 09-Jun-2020 19:18:24 by Mod Lyon

Hmm
Jan Member 2016

Hmm

Posts: 13,000 Opal Posts by user Forum Profile RuneMetrics Profile
I wouldn't expect the tech devs to spend time doing community work, it's not what they're paid for, and frankly, community interaction is a skill of its own, which is why companies have specific teams for dealing with it. My issues are mostly with the way the customer support teams handle these issues, since part of their job should reasonably include proxying the actual devs for issues, keeping them informed in new concerns without overburdening them with trash, but I'm not personally satisfied that happens effectively, both with account and technical situations. I know there's the various reasons that this is made harder than it should be such as the forum software being lacking and the community largely being on other platforms. Honestly, it's an issue bigger than "devs don't read RSOF" IMO, and not easily fixed, and realistically, not exclusively a Jagex issue.

My condolences for the poor dev who had to fix that bug, again I do think it was a bad move on the part of the poster who revealed it, but I do also think it highlights the perception of Jagex on the whole, and dealing with perceptions is a valid problem even if those perceptions are unreasonable or misleading for whatever reason. (I'm dealing with this myself a lot lately ;) ). As you say, your own post about you / the web team specifically being responsive is 100% true, I don't deny that.



Back to API talk, is there any chance you could look at / standardise the CORS policies? A friend was doing some work for his clan and was discussing how to let his clan actually use the code he made. I said, well, if it could be thrown up as a simple website on GitHub pages or the like, then everything is easy. But half the API's don't have any CORS policies, I imagine because they were never intended to be public, but going forward, I think it's something that needs to be decided upon.

08-Jun-2020 15:07:24 - Last edited on 08-Jun-2020 15:20:50 by Hmm

Astral Sub0

Astral Sub0

Posts: 11 Bronze Posts by user Forum Profile RuneMetrics Profile
Thanks for replying @Mod Lyon, Since I don't have a twitter account and am in no intention of creating one either. I basically cant reach out to you on twitter.

Taking in the current status of the API which is not intended for public use, CORS Policies enablement and max requests allowed to the API. I am yet to fully learn the call to the API with limits and other stuff.

So I think taking my time into consideration, It will be a better option to learn a little in-depth and get back to making the frontend at a later time when I think I will be competent enough to handle the complexities involved.


Thanks for the replies.

Cheers
;)

21-Jun-2020 15:48:14

Quick find code: 278-279-705-66164125 Back to Top