I’m new to tracker.gg and would like to use it to get my stats.
I have the following code:
$api_key = 'xxxxxxx'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://api.tracker.gg/api/v2/rocket-league/standard/profile/xbl/famouswolluf'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HTTPHEADER, ['TRN-Api-Key: ' . $api_key, 'Content-Type: application/json']); $content = curl_exec($ch); var_dump($content);
I have repaced the api_key with my own, but I get only the response error code: 1020 from cloudflare.
I also tried using Postman and there I get a forbidden 403 code