API для 五年中国服‖5858‖禁闭岛‖3倍物资‖PVP‖公开日志‖无商城‖微规则‖@礼包‖滴滴车‖送家
JSON для программ, сайтов и прочего
text
json
{
"response": {
"build": 118271,
"extraFlags": 0,
"nameHeaderRaw": "f0df1c010003",
"statusFlags": 96,
"type": 0,
"unknownStatusFlags": 96,
"steam_id": null,
"domain": null,
"id": 11741473,
"ip": "45.125.44.139",
"port": 13002,
"query": 13002,
"color": 0,
"city": "Jinan",
"description": null,
"game": 513710,
"owner": null,
"boosts": 1,
"last_offline": 1780575242,
"last_online": 1780575814,
"icon": null,
"name": "五年中国服‖5858‖禁闭岛‖3倍物资‖PVP‖公开日志‖无商城‖微规则‖@礼包‖滴滴车‖送家",
"connect": "45.125.44.139:13002",
"request": "45.125.44.139:13002",
"map": null,
"gamemode": "community-direct",
"version": "1.3.0.1.118271",
"numplayers": 93,
"maxplayers": 128,
"bots": 0,
"secured": null,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 0,
"add_date": 1780412910,
"last_update": 1780575814,
"banned": false,
"wipe": null,
"official": false,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5183,
"language": "zh",
"parked": false,
"app": {
"id": 11540,
"steam_id": 513710,
"name": "SCUM",
"url": "scum"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11741473");
$data = json_decode($json, true);
var_dump($data);