Skip to content

Commit

Permalink
Rebase and also change new endpoints to json
Browse files Browse the repository at this point in the history
  • Loading branch information
PjoeterBliep committed Sep 19, 2024
1 parent 7b38c20 commit caf31d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RSHiScores.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ private static function getUrl( $api ) {
$url = 'https://secure.runescape.com/m=hiscore_oldschool_ultimate/index_lite.json?player=';
break;
case 'osrs-skiller':
$url = 'https://secure.runescape.com/m=hiscore_oldschool_skiller/index_lite.ws?player=';
$url = 'https://secure.runescape.com/m=hiscore_oldschool_skiller/index_lite.json?player=';
break;
case 'osrs-pure':
$url = 'https://secure.runescape.com/m=hiscore_oldschool_skiller_defence/index_lite.ws?player=';
$url = 'https://secure.runescape.com/m=hiscore_oldschool_skiller_defence/index_lite.json?player=';
break;
case 'osrs-deadman':
$url = 'https://secure.runescape.com/m=hiscore_oldschool_deadman/index_lite.json?player=';
Expand Down

0 comments on commit caf31d9

Please sign in to comment.