API dla [P] CAI.JustRace.net | 2026 IMSEC 2 Hours of The Glen #JR
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": "90286969979944982",
"domain": null,
"id": 11393178,
"ip": "81.205.196.147",
"port": 26016,
"query": 26026,
"project_id": null,
"color": 0,
"city": "Amsterdam",
"description": null,
"game": 1066890,
"owner": null,
"boosts": 1,
"last_offline": 1781364837,
"last_online": 1781419971,
"icon": null,
"name": "[P] CAI.JustRace.net | 2026 IMSEC 2 Hours of The Glen #JR",
"connect": "81.205.196.147:26016",
"request": "81.205.196.147:26026",
"map": "Watkins_Glen_GPIL",
"gamemode": "Automobilista 2",
"version": "1.0.0.96",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774596788,
"last_update": 1781419971,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 92,
"language": "nl",
"parked": false,
"app": {
"id": 48189,
"steam_id": 1066890,
"name": "Automobilista 2",
"url": "automobilista-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11393178");
$data = json_decode($json, true);
var_dump($data);