API для Dusk till Dawn DUO | 5% Upkeep | No BP Wipe
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 113,
"fps_avg": 105,
"entities_count": 109192,
"world_seed": 1864903394,
"world_size": 4500,
"steam_id": "90286603843555353",
"domain": null,
"id": 4523733,
"ip": "195.252.217.178",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Oswego",
"description": "\nMap Wipe Monthly. Next map wipe 7/3\r\nNo BP Wipes\r\nSuper Low 5% upkeep so less time farming | Decay is unchanged\r\nCheaters are banned\r\nNew players are welcome!\r\nSlots will scale up to 200 based on population\r\n\r\nFor Primitive visit our other server:\r\nDusk till Dawn DUO Primitive | 5% Upkeep | No BP Wipe",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595060,
"last_online": 1780599818,
"icon": null,
"name": "Dusk till Dawn DUO | 5% Upkeep | No BP Wipe",
"connect": "195.252.217.178:28015",
"request": "195.252.217.178:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 10,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 64,
"add_date": 1716982749,
"last_update": 1780599818,
"banned": false,
"wipe": 1780595375,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1039,
"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/4523733");
$data = json_decode($json, true);
var_dump($data);