API для Chilly-Rust PvE 5x - No Kill or Raid
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 72903,
"world_seed": 1337,
"world_size": 2700,
"steam_id": "90286560096338954",
"domain": null,
"id": 4474529,
"ip": "103.1.213.251",
"port": 28285,
"query": 28286,
"color": 0,
"city": "Sydney",
"description": "\nWelcome To Chilly-Rust Server 5X PvE\r\n- NO Griefing Other Players Of Any Kind (Kick Or Bannable)\r\n Backpacks + BluePrints Wiped Monthly\r\n- Plugins-Include\r\n- Drone MarketPlace At Fishing Villages\r\n- Short Nights-RemoverTool\r\n- RaidableBases\r\n- Botrespawn-Heli Signals\r\n- UnburnableMeat\r\n- MinicopterLock\r\n- Bases Are Purged after 7 Days of Inactivity",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780560803,
"last_online": 1780534835,
"icon": null,
"name": "Chilly-Rust PvE 5x - No Kill or Raid",
"connect": "103.1.213.251:28285",
"request": "103.1.213.251:28286",
"map": "Procedural",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1716821026,
"last_update": 1780560803,
"banned": false,
"wipe": 1780189008,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10447,
"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/4474529");
$data = json_decode($json, true);
var_dump($data);