API для Rust Survive|Hardcore|50% Upkeep
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 82,
"fps_avg": 81,
"entities_count": 104658,
"world_seed": 0,
"world_size": 4250,
"steam_id": "90286548214270995",
"domain": null,
"id": 568409,
"ip": "94.130.131.25",
"port": 28011,
"query": 28017,
"color": 0,
"city": "Falkenstein",
"description": "\nPlease join our discord by clicking view webpage button below.\r\n\r\nWiped monthly @ Force - Next Wipe 4/6/26.\r\n\r\nBP's wipe every month whilst hardcore mode.\\\r\n\r\nServer reboots daily @ 5.15am GMT.\r\n\r\nNo Game bans or Vac bans, please find another server.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780470420,
"last_online": 1780557629,
"icon": null,
"name": "Rust Survive|Hardcore|50% Upkeep",
"connect": "94.130.131.25:28011",
"request": "94.130.131.25:28017",
"map": "RS-Maps",
"gamemode": "Hardcore",
"version": "2625",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1668891557,
"last_update": 1780557629,
"banned": false,
"wipe": 1778176505,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1994,
"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/568409");
$data = json_decode($json, true);
var_dump($data);