API для Sunnyvale | Solo Only | Monthly 6/4
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 500,
"fps_avg": 466,
"entities_count": 94821,
"world_seed": 1195170795,
"world_size": 4000,
"steam_id": "90286609148688409",
"domain": null,
"id": 11189383,
"ip": "172.111.51.166",
"port": 28016,
"query": 28017,
"color": 0,
"city": "Chicago",
"description": "\n•Welcome To Sunnyvale Solo Only Vanilla Server!• \r\n \r\n ♦Wipe Info♦ \r\n Map - Monthly @ Force \r\n BPs - Every 3 Force Wipes | Last BP Wipe 5/7 \r\n \r\n ♦Features♦ \r\n → Group limit: Solo Only (1) \r\n → Map Size: 4000 \r\n → Decay Rate: 50% \r\n → Custom Anti Cheat & Group Limit Enforcement \r\n → Daily Server Restart At 1AM EST \r\n → Active Non Playing Staff \r\n \r\n ♦Links♦ \r\n Website: SunnyvaleServers.com \r\n Discord: discord.gg/Sunnyvale",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780599868,
"last_online": 1780633825,
"icon": null,
"name": "Sunnyvale | Solo Only | Monthly 6/4",
"connect": "172.111.51.166:28016",
"request": "172.111.51.166:28017",
"map": "discord.gg/Sunnyvale",
"gamemode": "Survival",
"version": "2627",
"numplayers": 10,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1772699049,
"last_update": 1780633825,
"banned": false,
"wipe": 1780601120,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1111,
"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/11189383");
$data = json_decode($json, true);
var_dump($data);