Rust
API для [US] Stevious 2x | Solo/Duo/Trio | 4/30
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/759313json
{
"response": {
"steam_id": "90285250070286361",
"domain": "biweekly.us.moose.gg",
"id": 759313,
"ip": "168.100.163.13",
"port": 28010,
"query": 28015,
"color": 0,
"city": "Dallas",
"description": "![[US] Stevious 2x | Solo/Duo/Trio | 4/30](https://cdn.rustlegends.com/Stevious_2x_header.png)\nMax Teamsize: 3 players (Includes players offline)\r\n\r\nVisit https://stevious.io for VIP (Queue Skip) and Rules / Discord information.\r\n\r\nWeekly wipes and the following modifications: \r\n\r\n2x Gather Rates (2.5x for Sulfur and Wood) \r\nHalf smelt and crafting speeds (Vanilla for raiding items) \r\nBuilding and Level 1 Workbench blueprints unlocked \r\nComponent System loot tables (Junk items removed)",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1772738545,
"score": null,
"last_online": 1777738816,
"icon": null,
"name": "[US] Stevious 2x | Solo/Duo/Trio | 4/30",
"connect": "biweekly.us.moose.gg:28010",
"request": "168.100.163.13:28015",
"map": "Wiped 44 hours ago",
"gamemode": "Rust",
"version": "2623",
"numplayers": 87,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 81,
"add_date": 1678641061,
"last_update": 1777738816,
"banned": false,
"wipe": 1777579176,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 555,
"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/759313");
$data = json_decode($json, true);
var_dump($data);