Rust
API для [EU/US] RustyWasteland PVE | Build Contest | Zombies | RaidBase
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/3702873json
{
"response": {
"fps": 38,
"fps_avg": 33,
"entities_count": 232052,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90285027426137116",
"domain": null,
"id": 3702873,
"ip": "81.19.214.35",
"port": 28026,
"query": 28025,
"color": 0,
"city": "City of London",
"description": "![[EU/US] RustyWasteland PVE | Build Contest | Zombies | RaidBase](https://i.ibb.co/spCMX2TK/server-lobby-header1-copy.jpg)\n[EU/US] Rusty Wasteland PVE\r\n - Bi-Weekly wipes\r\n - Active, friendly and helpful owner, staff and community\r\n - Unique plugin combination for the maximum experience\r\n - Welcome rewards for new players (Free airdrop and 500MM)\r\n - MM and XP rewards from killing AI, voting or participating in the events\r\n - Earn Bonus ranks for time spent playing in the server!\r\n - Special thank you rewards for donating players\r\n - Unique server fun events hosted by owners and staff\r\n \r\n Server details: \r\n IP: 81.19.214.35:28026 | pve.rustywasteland.eu:28026\r\n Website: https://www.rustywasteland.eu \r\n Discord: https://discord.gg/rustywasteland",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776070982,
"score": 0,
"last_online": 1777309821,
"icon": null,
"name": "[EU/US] RustyWasteland PVE | Build Contest | Zombies | RaidBase",
"connect": "81.19.214.35:28026",
"request": "81.19.214.35:28025",
"map": "Forbidden Lands",
"gamemode": "Survival",
"version": "2623",
"numplayers": 40,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 76,
"add_date": 1712233995,
"last_update": 1777309821,
"banned": false,
"wipe": 1776362765,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 564,
"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/3702873");
$data = json_decode($json, true);
var_dump($data);