Rust
API для
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11189307json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11189307,
"ip": "40.160.20.91",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Reston",
"description": "\nServer Features:\n• 2× Gather, Farming & Stack\n• 2× Smelting & Recycling Speed (no extra yield)\n• 2× Vanilla loot tables (No Junk Boost)\n• 1.5× Excavator & Quarries\n• Solo / Duo / Trio team limit\n• 24/7 Active non-playing admins\n• Anti-cheat & ban-evasion detection\n\nWipe Schedule:\n• Map Wipe: Thursdays @ 2:00 PM EST\n• BP Wipe: Force Wipe / Monthly\n\nLinks:\n• discord.gg/classicgaming\n• store.classicgaming.gg\n\nSupport:\n• 24/7 Discord ticket support",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776210675,
"score": 0,
"last_online": 1775812815,
"icon": null,
"name": null,
"connect": null,
"request": "40.160.20.91:28017",
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 350,
"bots": 0,
"secured": null,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1772699041,
"last_update": 1776210675,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 9594,
"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/11189307");
$data = json_decode($json, true);
var_dump($data);