API für ~IsR~ Test
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90286529050279960",
"domain": null,
"id": 11756289,
"ip": "85.93.88.202",
"port": 22012,
"query": 22014,
"color": 0,
"city": "Strasbourg",
"description": null,
"game": 365960,
"owner": null,
"boosts": 1,
"last_offline": 1780520153,
"last_online": 1780651843,
"icon": null,
"name": "~IsR~ Test",
"connect": "85.93.88.202:22012",
"request": "85.93.88.202:22014",
"map": "Bullrun International",
"gamemode": "rFactor 2",
"version": "11134",
"numplayers": 5,
"maxplayers": 24,
"bots": 5,
"secured": false,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 40,
"add_date": 1780520153,
"last_update": 1780651843,
"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": 9,
"language": "fr",
"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/11756289");
$data = json_decode($json, true);
var_dump($data);