Rust
API для [UA] [A+] KYIV VANILLA [discord.gg/g2vE6tX]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/9570604json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 144849,
"world_seed": 633304590,
"world_size": 5000,
"steam_id": "90284754933059589",
"domain": null,
"id": 9570604,
"ip": "31.43.152.33",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Kyiv",
"description": null,
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776805404,
"score": 0,
"last_online": 1776817933,
"icon": null,
"name": "[UA] [A+] KYIV VANILLA [discord.gg/g2vE6tX]",
"connect": "31.43.152.33:28015",
"request": "31.43.152.33:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 88,
"bots": 0,
"secured": true,
"private": false,
"country": "UA",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1750594375,
"last_update": 1776817933,
"banned": false,
"wipe": 1775164421,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5923,
"language": "uk",
"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/9570604");
$data = json_decode($json, true);
var_dump($data);