Rust
API для RustRepublic 2x Solo/Duo/Trio/Quad Saturdays
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11116250json
{
"response": {
"fps": 69,
"fps_avg": 59,
"entities_count": 171013,
"world_seed": 1527228899,
"world_size": 4500,
"steam_id": "90284736286961695",
"domain": null,
"id": 11116250,
"ip": "67.222.153.66",
"port": 28215,
"query": 28217,
"color": 0,
"city": "Dallas",
"description": "RustRepublic delivers perfection in a lightly modded experience, balancing efficiency and quality of life with the usual savagery of vanilla rust.\r\n►Wipe Every Saturday @ 10am CST\r\n►Max Group Limit 4\r\n►2x Resource Gather Rates\r\n►1.5x Sulfur\r\n►4x Stacks on Resources\r\n►Quick Smelt and Recycle\r\n►Basewide Workbench\r\n►Clan Plugin w/ Team UI\r\n►High Performance, Lag Free Dedicated Machines Using Best Available Hardware\r\n►Active Admins - All CHEATERS and their ASSOCIATES will be permabanned",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776774150,
"score": 0,
"last_online": 1776849023,
"icon": null,
"name": "RustRepublic 2x Solo/Duo/Trio/Quad Saturdays",
"connect": "67.222.153.66:28215",
"request": "67.222.153.66:28217",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2621",
"numplayers": 0,
"maxplayers": 250,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1770112817,
"last_update": 1776849023,
"banned": false,
"wipe": 1770558853,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4538,
"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/11116250");
$data = json_decode($json, true);
var_dump($data);