Rust
API для [NL] Dutch Patriots [EU] 2xStone+Metal / No decay
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11260511json
{
"response": {
"fps": 116,
"fps_avg": 129,
"entities_count": 65919,
"world_seed": 1839849139,
"world_size": 3500,
"steam_id": "90285150884419586",
"domain": null,
"id": 11260511,
"ip": "84.30.5.254",
"port": 28115,
"query": 28116,
"color": 0,
"city": "Maastricht",
"description": null,
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777518207,
"score": 0,
"last_online": 1778584839,
"icon": null,
"name": "[NL] Dutch Patriots [EU] 2xStone+Metal / No decay",
"connect": "84.30.5.254:28115",
"request": "84.30.5.254:28116",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774555194,
"last_update": 1778584839,
"banned": false,
"wipe": 1775165770,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6023,
"language": "nl",
"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/11260511");
$data = json_decode($json, true);
var_dump($data);