Skip to content

kilroy-2/rl-rank-stats-web-scrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

IMPORTANT NOTICE

Since April 2023 you can not use the api.tracker.gg/api/v2/rocket-league/ anymore. They protected their site with cloudflare. This script does not work anymore!

Since 16th April 2022 you MUST ask for permission on rocketleague.tracker.network to scrap their site otherwise the script will not work!

rl-rank-stats-web-scrap

Open Source Love svg2 Ask Me Anything !

Script that scraps json code from f.e. https://api.tracker.gg/api/v2/rocket-league/standard/profile/steam/kilroy_2
to get rank, tournament and stats data of a player in Rocket League. Output is json.

This is only a helper script for readability.
The output is only general and selected information that I find to be important.
Of course you could simply use the api from tracker.gg.
If you want more, var_dump($data) and see the glorious amount of information you can access.
Of course this can be used as an API running on your own server.

Usage

rankdata.php?user=USERID&platform=PLATFORM

Simply change USERID into your Steam profiles id, psn name, xbox name or epic id and PLATFORM into either steam, psn, xbl or epic.
Use the hyphen character for spaces.

Example

rankdata.php?user=kilroy_2&platform=steam

{
  "message":"Success",
  "code":"1",
  "name":"guy",
  "SeasonReward":[4,0],
  "1v1":[18,1106],
  "2v2":[18,1477],
  "3v3":[16,1268],
  "Solo 3v3":[0,1213],
  "Hoops":[15,950],
  "Rumble":[17,1080],
  "Dropshot":[0,976],
  "Snowday":[0,981],
  "Tournament":[20,1719],
  "Wins":17362,
  "Goals":38898,
  "Saves":40845,
  "Assists":16937,
  "Shots":89942,
  "MVPs":7263,
  "GoalShotRatio":43.247870850103
}

About

Rocket League ranks & stats in Json. Can be used as API. Still just a web scrap.

Topics

Resources

Stars

Watchers

Forks

Languages