michaelbull / rs-api

An open-source implementation of a web-service client, written in Java, that allows interaction with the various APIs available for the popular MMORPG; RuneScape.
ISC License
34 stars 12 forks source link

Add support for OSRS #6

Open mswdev opened 6 years ago

mswdev commented 6 years ago

Add support for OSRS possibly?

@michaelbull If this is something you don't have time for, I'd be willing to add support for it and make a pull request.

michaelbull commented 6 years ago

Do these not work?

mswdev commented 6 years ago

Do these not work?

I didn't realize that OSRS was supported in terms of hiscores as the readme and project information only mentions RuneScape generically rather than RuneScape 3 and or OSRS.

What about OSRS G.E data, If I'm not mistaken, that doesn't look to be supported?

michaelbull commented 6 years ago

Yeah doesn't look like the OSRS GE is supported, however there is documentation for it here.

I think it would be a case of tackling this hardcoded URL, making it an enum along the lines of the HiscoresTable, passing it to the functions inside of the GrandExchange class - in a similar fashion to the methods inside Hiscores.