rFactor 2
API für eClube 2.4h Le Mans | B
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11393102json
{
"response": {
"steam_id": "90285182615533578",
"domain": null,
"id": 11393102,
"ip": "200.201.183.213",
"port": 64292,
"query": 64294,
"color": 0,
"city": "Rio de Janeiro",
"description": null,
"game": 365960,
"owner": null,
"boosts": 1,
"last_offline": 1777582947,
"score": 0,
"last_online": 1777607512,
"icon": null,
"name": "eClube 2.4h Le Mans | B",
"connect": "200.201.183.213:64292",
"request": "200.201.183.213:64294",
"map": "Le Mans",
"gamemode": "rFactor 2",
"version": "11134",
"numplayers": 0,
"maxplayers": 31,
"bots": 0,
"secured": false,
"private": false,
"country": "BR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774596780,
"last_update": 1777607512,
"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": 176,
"language": "pt",
"parked": false,
"app": {
"id": 146,
"steam_id": 365960,
"name": "rFactor 2",
"url": "rfactor-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11393102");
$data = json_decode($json, true);
var_dump($data);