Project CARS 2
API für Beale St. Blues GT3/GT4
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/5845911json
{
"response": {
"steam_id": null,
"domain": null,
"id": 5845911,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "[{\"id\":\"_Vqcr_cB5r\",\"type\":\"paragraph\",\"data\":{\"text\":\"Just a good ol Project Cars² Server, in Memphis, TN. Not too far from Beale Street !\"}}]",
"game": 378860,
"owner": 82764,
"boosts": 1,
"last_offline": 1750457066,
"score": 0,
"last_online": 1742210478,
"icon": null,
"name": "Beale St. Blues GT3/GT4",
"connect": null,
"request": null,
"map": "Nürburgring GP",
"gamemode": "Project CARS 2",
"version": null,
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1725308411,
"last_update": 1750457066,
"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": 14,
"language": "en",
"parked": true,
"app": {
"id": 6693,
"steam_id": 378860,
"name": "Project CARS 2",
"url": "project-cars-2"
},
"server_owner": {
"username": "DavidKingJr",
"avatar": "20e30b8d-73de-45e2-b317-9b22562359b9.jpg",
"last_online": 1742140341
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/5845911");
$data = json_decode($json, true);
var_dump($data);