Rust
API для iSllayyM/166i3
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11435536json
{
"response": {
"fps": 65,
"fps_avg": 70,
"entities_count": 47595,
"world_seed": 1240019754,
"world_size": 3000,
"steam_id": "90285244457067541",
"domain": null,
"id": 11435536,
"ip": "66.51.97.62",
"port": 28010,
"query": 28011,
"color": 0,
"city": "City of London",
"description": "\nORIGINALS ISLAND\r\n - 2x - PVE\r\n - Designed for long-term progression\r\n - Events+, Raidable Bases & SkillTree\r\n - Monthly Wipes (First Thursday)\r\n - Monthly BP wipe | Lower decay rates\r\n - Teleports, Skinner & Quality-of-Life features",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778572937,
"score": 0,
"last_online": 1778277623,
"icon": null,
"name": "iSllayyM/166i3",
"connect": "66.51.97.62:28010",
"request": "66.51.97.62:28011",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774977193,
"last_update": 1778572937,
"banned": false,
"wipe": 1777488798,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 7640,
"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/11435536");
$data = json_decode($json, true);
var_dump($data);