API für Oblivion test3
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 2705605,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "",
"game": 221100,
"owner": 90915,
"boosts": 1,
"last_offline": 1761717171,
"last_online": 1760769024,
"icon": null,
"name": "Oblivion test3",
"connect": null,
"request": null,
"map": "chernarusplus",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": true,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1706196463,
"last_update": 1761717171,
"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": 14906,
"language": "ru",
"parked": true,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "aleksandr_kuzenkov",
"avatar": "1638590d-8894-4008-a7bf-9372d9a2c76d.jpg"
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/2705605");
$data = json_decode($json, true);
var_dump($data);