Rust
API для test server
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11260717json
{
"response": {
"fps": 30,
"fps_avg": 28,
"entities_count": 1821,
"world_seed": 1,
"world_size": 1000,
"steam_id": "90283964014214158",
"domain": null,
"id": 11260717,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Moscow",
"description": "Рейты x4/x8 - Rates x4/x8\r\nНет жары, холода и радиации - No rads\r\nНет дверей на РТ - There are no doors on rt\r\nТурели без электричества - Turrets without electricity\r\nКит наборы - Kits\r\nРюкзак - Backpack\r\nУвеличено количество лута с ящиков - Loot +",
"game": 252490,
"owner": 183166,
"boosts": 1,
"last_offline": 1777441957,
"score": 0,
"last_online": 1776546015,
"icon": null,
"name": "test server",
"connect": null,
"request": null,
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774555202,
"last_update": 1777441957,
"banned": false,
"wipe": 1775394360,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 7499,
"language": "ru",
"parked": true,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "syberia159",
"avatar": "no.jpg",
"last_online": 1775369275
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11260717");
$data = json_decode($json, true);
var_dump($data);