API для EastCoast Survival 10X Solo/Duo
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 15,
"fps_avg": 5,
"entities_count": 78140,
"world_seed": 1939467501,
"world_size": 4050,
"steam_id": "90286602465818652",
"domain": null,
"id": 11606842,
"ip": "96.32.16.210",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Worcester",
"description": "\n* Custom Map\r\n* Custom Loot Tables\r\n* Custom Events \r\n* Quests\r\n* Active Staff\r\n* Pve and Pvp Timed \r\n* Real Weather",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780359193,
"last_online": 1780592660,
"icon": null,
"name": "EastCoast Survival 10X Solo/Duo",
"connect": "96.32.16.210:28015",
"request": "96.32.16.210:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779915485,
"last_update": 1780592660,
"banned": false,
"wipe": 1780053419,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5335,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11606842");
$data = json_decode($json, true);
var_dump($data);