API для Always small maps/Less Decay
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 48,
"fps_avg": 50,
"entities_count": 37617,
"world_seed": 1336783367,
"world_size": 2750,
"steam_id": "90286713727284227",
"domain": null,
"id": 10896269,
"ip": "91.229.114.45",
"port": 28035,
"query": 28037,
"project_id": null,
"color": 0,
"city": "Chicago",
"description": "\nWe get it! Sometimes the maps are just to large! \r\nWe always try to use maps no larger than 3200,\r\nThis map is 2750 in size\r\nSmooth servers with anti cheat tools installed\r\nRelax and have fun!!\r\nSlight mod this month,\r\nScrap and resource gathering adjustments\r\nStack size increase and Furnace speeds increased\r\nMy mini commands /mymini /fmini /nomini",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780596862,
"last_online": 1780909830,
"icon": null,
"name": "Always small maps/Less Decay",
"connect": "91.229.114.45:28035",
"request": "91.229.114.45:28037",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768383800,
"last_update": 1780909830,
"banned": false,
"wipe": 1780597100,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4044,
"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/10896269");
$data = json_decode($json, true);
var_dump($data);