API для [EU] TCS PvE | Vanilla | Friendly
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 101824,
"world_seed": 2073525905,
"world_size": 4300,
"steam_id": "90286611265519645",
"domain": null,
"id": 11606713,
"ip": "194.164.91.50",
"port": 28025,
"query": 28027,
"color": 0,
"city": "London",
"description": "![[EU] TCS PvE | Vanilla | Friendly](https://www.dropbox.com/scl/fi/a5uys7sj8hpb7xr2iabz9/bg.png?rlkey=p693tmlp90iw0ck2ffp7qw17u&st=6aih7po5&dl=1)\nClick on 'VIEW WEBPAGE' to join our Discord!\r\n\r\nWelcome to the ultimate laidback Rust experience!\r\nMap Wipe: Monthly\r\n\r\nFor detailed rules and guidelines, please visit our Discord server.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780610661,
"last_online": 1780656627,
"icon": null,
"name": "[EU] TCS PvE | Vanilla | Friendly",
"connect": "194.164.91.50:28025",
"request": "194.164.91.50:28027",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2627",
"numplayers": 2,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1779915479,
"last_update": 1780656627,
"banned": false,
"wipe": 1780604571,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1800,
"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/11606713");
$data = json_decode($json, true);
var_dump($data);