Rust
API для RustOps - Solo/Duo/Trio | FULLWIPE 21/04 21.04 04/21
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10740528json
{
"response": {
"steam_id": "90284732290934801",
"domain": null,
"id": 10740528,
"ip": "193.25.252.119",
"port": 28116,
"query": 28117,
"color": 0,
"city": "Frankfurt am Main",
"description": "\nRustOps — High-performance vanilla servers with ultra-low ping, active staff, and smart balancing to keep fights fair, wipes fresh, and every session feeling smooth and competitive.\r\n Map Voting: https://rustops.org/vote/trio\r\n Skip Queue: https://rustops.org/shop\r\n Discord: discord.gg/rustops , https://rustops.org/discord\r\n Rules: https://rustops.org/rules\r\n \r\n → Group Limit: 3\r\n → Map Size: 3500\r\n \r\n Wipe Schedule:\r\n - Full wipe every Monday and Fridays\r\n \r\n Administration:\r\n - Active, non-playing admins who stay hands-off unless needed.\r\n \r\n Full Info: https://rustops.org",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776702632,
"score": 0,
"last_online": 1776825617,
"icon": null,
"name": "RustOps - Solo/Duo/Trio | FULLWIPE 21/04 21.04 04/21",
"connect": "193.25.252.119:28116",
"request": "193.25.252.119:28117",
"map": "Wiped 16 hours ago",
"gamemode": "Rust",
"version": "2623",
"numplayers": 18,
"maxplayers": 215,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 65,
"add_date": 1766250707,
"last_update": 1776825617,
"banned": false,
"wipe": 1776765470,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 850,
"language": "de",
"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/10740528");
$data = json_decode($json, true);
var_dump($data);