API für RU | OLD SCHOOL Server 1 | NoRaid | Trader | x10
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 872050,
"ip": null,
"port": null,
"query": null,
"project_id": null,
"color": 0,
"city": "Moscow",
"description": "",
"game": 221100,
"owner": 89262,
"boosts": 1,
"last_offline": 1774331477,
"last_online": 1773421286,
"icon": null,
"name": "RU | OLD SCHOOL Server 1 | NoRaid | Trader | x10",
"connect": null,
"request": null,
"map": "chernarusplus",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1684686955,
"last_update": 1774331477,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 14878,
"language": "ru",
"parked": true,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "old_school",
"avatar": "a6bcf67a-1c97-414c-82e1-007108ed6e0d.jpg"
},
"mods": [
{
"id": 5,
"name": "Admin System"
},
{
"id": 1615,
"name": "CF"
},
{
"id": 1614,
"name": "VPPAdminTools"
},
{
"id": 645,
"name": "Convoy Reforged"
}
],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/872050");
$data = json_decode($json, true);
var_dump($data);