Rust
API для Mad-Manx: Beyond Mankydome 10X PVE
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11260779json
{
"response": {
"fps": 32,
"fps_avg": 32,
"entities_count": 101581,
"world_seed": 875824078,
"world_size": 4250,
"steam_id": "90284724335257614",
"domain": null,
"id": 11260779,
"ip": "135.181.178.56",
"port": 28030,
"query": 28031,
"color": 0,
"city": "Helsinki",
"description": "\nMad-Manx:Beyond Mankydome 10X PVE|Zombies|RaidBases|SkillTree|Events\r\n-Wipes: Wiped April 3rd. Next May 8th!\r\n-All languages & players welcome!\r\n-Features: Raid Bases, Custom Loot, Custom locations!\r\n-BPs: Unlock Master-BPs with /skills or get from /shop\r\n-Easy to Challenging Combat, Mercenary Ranks\r\n-Bots: Bounty Hunting, Mutant Animal Bosses, Night Zombies, Roaming natives\r\n-Collectors:Sell Bountytokens, Zombiebrains, Animal Pelts for $RP\r\n-NpcVendors, CustomVehicles, Teleports\r\n-Events:Caravans, Convoys, Cobalt Labs, Heavy Oil Rig, Shipwrecks, Trains\r\n-Monument Mutators: Huge Risk-Reward multipliers\r\n-HeavyHazmatSuit:100% Radiation immunity.\r\n-Skills: Upgrade survival chances or learn new QoL upgrades.\r\n-Perks:Backpacks, Build tools, Indoor Furnaces, Stack Deployables\r\n-Skinner, Indoor Quarry Computer, Industrial Recyclers\r\n-CarMods: Floating, Underwater, Remote Control, AutoTurrets.\r\n-Join Discord for Questions, info, Support https://discord.gg/wK5RmRetJz",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776444749,
"score": 0,
"last_online": 1776825620,
"icon": null,
"name": "Mad-Manx: Beyond Mankydome 10X PVE",
"connect": "135.181.178.56:28030",
"request": "135.181.178.56:28031",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555204,
"last_update": 1776825620,
"banned": false,
"wipe": 1775230443,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4941,
"language": "fi",
"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/11260779");
$data = json_decode($json, true);
var_dump($data);