Rust
API для [EU/FIN] Serene Island 5K
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8849783json
{
"response": {
"fps": 92,
"fps_avg": 92,
"entities_count": 137781,
"world_seed": 2545,
"world_size": 5000,
"steam_id": "90284793595327513",
"domain": null,
"id": 8849783,
"ip": "89.190.5.80",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Kaustinen",
"description": "![[EU/FIN] Serene Island 5K](https://sereneisland.eu/SereneIsland2026.png)\nLooking for a server to start your journey on RUST? Then Serene Island is for you! ... Or is it? Pain and agony may accompany you here as well. This server is mostly just for chilling, monthly wipes.\r\n\r\nRules?\r\nYes, don't be an ass, or toxic towards other players. Hacking, racism, and such will get you banned forever!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776826995,
"score": 0,
"last_online": 1776848420,
"icon": null,
"name": "[EU/FIN] Serene Island 5K",
"connect": "89.190.5.80:28015",
"request": "89.190.5.80:28017",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1746266839,
"last_update": 1776848420,
"banned": false,
"wipe": 1775584319,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3316,
"language": "fi",
"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/8849783");
$data = json_decode($json, true);
var_dump($data);