Recently, Jagex offered a .json endpoint for the hiscore API, which obviously comes with a great deal more information that makes parsing the data much much simpler and straightforward. Because the json data gives names for each skill and boss/minigame, it doesn't require pre-knowledge of the arbitrary order the data appears in, as opposed to the .ws endpoint that was historically used, which just gives a list of numbers without context, and must be sorted by the user.
I suggest changing this extension to use the json endpoint, or at least offering an option to do so. It will dramatically simplify the process for anyone wanting to use the data, and in doing so, will make it more accessible for more people to use the data in creative ways.
Recently, Jagex offered a .json endpoint for the hiscore API, which obviously comes with a great deal more information that makes parsing the data much much simpler and straightforward. Because the json data gives names for each skill and boss/minigame, it doesn't require pre-knowledge of the arbitrary order the data appears in, as opposed to the .ws endpoint that was historically used, which just gives a list of numbers without context, and must be sorted by the user.
I suggest changing this extension to use the json endpoint, or at least offering an option to do so. It will dramatically simplify the process for anyone wanting to use the data, and in doing so, will make it more accessible for more people to use the data in creative ways.
https://secure.runescape.com/m=hiscore_oldschool/index_lite.ws?player=DrYoshiyahu https://secure.runescape.com/m=hiscore_oldschool/index_lite.json?player=DrYoshiyahu