API для Mad Science Reborn | PVE | 2X+ | Raidable Bases | Bosses
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 89,
"fps_avg": 99,
"entities_count": 102131,
"world_seed": 837228376,
"world_size": 4250,
"steam_id": "90286620042440725",
"domain": null,
"id": 738192,
"ip": "185.216.144.112",
"port": 28080,
"query": 28015,
"color": 0,
"city": "City of London",
"description": "\nA unique modded experience offering challenging Rust PVE gameplay with RPG elements. Fight bosses, hordes of zombies and raid fiendish bases to earn currency and XP and unlock game-changing skills and powerful equipment. \r\n \r\n Map wipes every Thursday. Blueprints, XP and currency is wiped once every three months. \r\n \r\n We've installed many quality of life plugins to make your life easier: \r\n • Teleports \r\n • Vehicle Licences \r\n • Currency Shop \r\n • Skill Tree \r\n • Epic Loot",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780597469,
"last_online": 1780636834,
"icon": null,
"name": "Mad Science Reborn | PVE | 2X+ | Raidable Bases | Bosses",
"connect": "185.216.144.112:28080",
"request": "185.216.144.112:28015",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1675099142,
"last_update": 1780636834,
"banned": false,
"wipe": 1780597414,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2178,
"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/738192");
$data = json_decode($json, true);
var_dump($data);