API для 秋叶南国3服丨PVE丨新图开荒丨加州2丨
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "85568392925443132",
"domain": null,
"id": 11480864,
"ip": "103.39.66.70",
"port": 25666,
"query": 25666,
"color": 0,
"city": "Shiyan",
"description": null,
"game": 304930,
"owner": null,
"boosts": 1,
"last_offline": 1779183775,
"last_online": 1779206432,
"icon": null,
"name": "秋叶南国3服丨PVE丨新图开荒丨加州2丨",
"connect": "103.39.66.70:25666",
"request": "103.39.66.70:25666",
"map": "California2",
"gamemode": "★建筑载具无敌/大背包/稳定不卡★<",
"version": "1.0.0.0",
"numplayers": 4,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 39,
"add_date": 1774979222,
"last_update": 1779206432,
"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": 39,
"language": "zh",
"parked": false,
"app": {
"id": 48,
"steam_id": 304930,
"name": "Unturned",
"url": "unturned"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11480864");
$data = json_decode($json, true);
var_dump($data);