API для Chicken's Paradise
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 103,
"fps_avg": 96,
"entities_count": 202716,
"world_seed": 1720014107,
"world_size": 6000,
"steam_id": "90286611829316622",
"domain": null,
"id": 11502573,
"ip": "68.233.46.117",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Lagrange",
"description": "A server with several custom plugins. Do /help to see a list of commands available. The map is filled with AI bases to loot. There are AI NPCs to fight. Zombies come out at night. A chill community hanging out having a good time playing Rust without the sweat.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780612462,
"last_online": 1780633232,
"icon": null,
"name": "Chicken's Paradise",
"connect": "68.233.46.117:28015",
"request": "68.233.46.117:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207204,
"last_update": 1780633232,
"banned": false,
"wipe": 1780612709,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4641,
"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/11502573");
$data = json_decode($json, true);
var_dump($data);