API для - Q群1003062325 空岛传说
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90285155173824519",
"domain": null,
"id": 11541484,
"ip": "124.223.115.217",
"port": 9922,
"query": 10422,
"color": 0,
"city": "Shanghai",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1780584816,
"last_online": 1779864135,
"icon": null,
"name": "- Q群1003062325 空岛传说",
"connect": "124.223.115.217:9922",
"request": "124.223.115.217:10422",
"map": "chernarusplus",
"gamemode": null,
"version": "129",
"numplayers": 0,
"maxplayers": 70,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779355431,
"last_update": 1780584816,
"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": 11369,
"language": "zh",
"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/11541484");
$data = json_decode($json, true);
var_dump($data);