Rust
API для [AU] Winterust - 2x Monthly
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8390660json
{
"response": {
"steam_id": "90284753377002505",
"domain": null,
"id": 8390660,
"ip": "172.111.33.2",
"port": 28014,
"query": 28010,
"color": 0,
"city": "Sydney",
"description": "![[AU] Winterust - 2x Monthly](https://link.platformsync.io/wr/Banner_2xMonthly_512x1024.png)\nThe Official Home Of Ser Winter!\r\n Map Wipes: On Force Wipe\r\n BPs Wipe: NEVER\r\n\r\n PLAYER REPORTS\r\n \\t• Got clips? Submit a ticket in our Discord!\r\n \\t• No clips? Press F7 to submit a report in-game!\r\n\r\n \\t``STORE: store.Winterust.net \\t|\\tSUPPORT: discord.gg/Winterust \r\n\r\nWinterust Features \r\n\\tActive Staff\\t\\t | \\tBase Pop: 300+\\t\\t| \\tCustom Maps \\t \r\n\\t2x Gather\\t\\t\\t | \\t2x Smelting\\t\\t| \\t2x Crafting Times \r\n\\tFaster Recycling\\t\\t | \\tExtra Recyclers\\t\\t| \\tTier 1 BPs Unlocked \r\n\r\n\\t\\t\\t\\tJunk items removed from loot tables",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776283311,
"score": 0,
"last_online": 1776823217,
"icon": null,
"name": "[AU] Winterust - 2x Monthly",
"connect": "172.111.33.2:28014",
"request": "172.111.33.2:28010",
"map": "The Official Home of Ser Winter",
"gamemode": "Rust",
"version": "2623",
"numplayers": 10,
"maxplayers": 75,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 67,
"add_date": 1743673690,
"last_update": 1776823217,
"banned": false,
"wipe": 1775152267,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 713,
"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/8390660");
$data = json_decode($json, true);
var_dump($data);