API для A Rust Server
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 78301,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90286181814238223",
"domain": null,
"id": 11607359,
"ip": "104.238.229.7",
"port": 28015,
"query": 28012,
"project_id": null,
"color": 0,
"city": "Dallas",
"description": "\nDedicated Lifetime Rewards\r\nKillPoints buy Raids, Kits and Events\r\nSkill Tree\r\nArenas\r\nLeaderboards\r\nCustom Items and Vehicles\r\nNPC Bases\r\nBosses\r\n\r\n\r\n\r\nClick View WebPage Below to see all our content!\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n[RS-5921cb94]",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780686804,
"last_online": 1780514430,
"icon": null,
"name": "A Rust Server",
"connect": "104.238.229.7:28015",
"request": "104.238.229.7:28012",
"map": "The Heart Of The City",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779915503,
"last_update": 1780686804,
"banned": false,
"wipe": 1778694253,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 11848,
"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/11607359");
$data = json_decode($json, true);
var_dump($data);