API для Filthy Casuals [Solo/Duo/Trio] [Slowed Decay] [Bi-Weekly]
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 67,
"fps_avg": 71,
"entities_count": 98699,
"world_seed": 58482220,
"world_size": 4250,
"steam_id": "90286284027927560",
"domain": null,
"id": 1399988,
"ip": "66.235.168.134",
"port": 28145,
"query": 28015,
"color": 0,
"city": "Bend",
"description": "![Filthy Casuals [Solo/Duo/Trio] [Slowed Decay] [Bi-Weekly]](https://i.imgur.com/27XOh2h.jpg)\nCurrent Wipe: May 21st - June 4th\r\n\r\nBi-Weekly server wipe. Monthly BP wipe.\r\n\r\nJoin our community on discord for all of our latest server announcements and events.\r\n\r\nDiscord: https://discord.gg/cBFcCEQqu3\r\n\r\n*3 player max team size. Strictly enforced.\r\n*No Griefing (Sealing bases, despawning)\r\n*KOS is permitted but try to help new players when possible.\r\n*Racial/homophobic slurs or otherwise extreme toxcicity not tolerated.\r\n\r\nAdmins: Reefkeeper, Snooze, PurplesmokeZ, Malicai",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779412420,
"last_online": 1780551632,
"icon": null,
"name": "Filthy Casuals [Solo/Duo/Trio] [Slowed Decay] [Bi-Weekly]",
"connect": "66.235.168.134:28145",
"request": "66.235.168.134:28015",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1696082494,
"last_update": 1780551632,
"banned": false,
"wipe": 1779412482,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2153,
"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/1399988");
$data = json_decode($json, true);
var_dump($data);