Rust
API для The Abandoned (Hardcore PVE)
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/782679json
{
"response": {
"modded": true,
"fps": 41,
"fps_avg": 44,
"entities_count": 92612,
"world_seed": 1337,
"world_size": 4500,
"steam_id": 90285102988312600,
"domain": null,
"id": 782679,
"ip": "89.58.19.234",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Vienna",
"description": "\nThe Abandoned (PVE)\r\n* Map: The Hollandia (4500)\r\n\r\n* 100+ RBEs (for your boom)\r\n* CustomBots\r\n* Custom Bradleys\r\n* Raiding NPCs Defense\r\n\r\nDiscord:discord.gg/NRRkfSv5gW \r\nServer-Wipe: Biweekly\r\nLast Wipe: 16th of April 8 PM CET\r\nNext Wipe: 7th of May 8 PM CET\r\nDaily Patching: 5 AM CET\r\n\r\nMods:\r\n\r\n* /sil [url] to Frames\r\n* /remove\r\n* /backpack\r\n* /kit\r\n* /shop\r\n\r\n* Gathering-Levels\r\n* Increased Stack-Sizes\r\n* 1/4th Decay\r\n* TimeOfDay (55/5)\r\n* NightLantern\r\n* Skins\r\n* Armored Train, Convoy on Request\r\n\r\nNo Group-Size-Limit\r\nNo TC and Platform-Limit\r\nNo Pay2Win",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777431798,
"score": null,
"last_online": 1777511420,
"icon": null,
"name": "The Abandoned (Hardcore PVE)",
"connect": "89.58.19.234:28015",
"request": "89.58.19.234:28016",
"map": "Hollandia (4500)",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": false,
"private": false,
"country": "AT",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1681806325,
"last_update": 1777511420,
"banned": false,
"wipe": 1776363450,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2186,
"language": "de",
"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/782679");
$data = json_decode($json, true);
var_dump($data);