API для NOVICHOK | Modded Namalsk | BBP | Raid Weekends | Wipe 31.05
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286731736832010",
"domain": null,
"id": 11322359,
"ip": "91.232.167.147",
"port": 2502,
"query": 2503,
"project_id": null,
"color": 0,
"city": "Wawrzeńczyce",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1780812263,
"last_online": 1780874589,
"icon": null,
"name": "NOVICHOK | Modded Namalsk | BBP | Raid Weekends | Wipe 31.05",
"connect": "91.232.167.147:2502",
"request": "91.232.167.147:2503",
"map": "namalsk",
"gamemode": null,
"version": "1.29.163047",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774593963,
"last_update": 1780874589,
"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": 6564,
"language": "pl",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11322359");
$data = json_decode($json, true);
var_dump($data);