Rust
API для BushRust | AU/NZ | Monthly | No BP Wipes | Low Upkeep
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10081745json
{
"response": {
"fps": 114,
"fps_avg": 115,
"entities_count": 147061,
"world_seed": 565550894,
"world_size": 4500,
"steam_id": "90285632950895633",
"domain": null,
"id": 10081745,
"ip": "103.15.236.184",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Мельбурн",
"description": "Explore the Aussie Bush | Monthly Map Wipes | Blueprints Stay Forever\r\nFriendly community (Noobs welcome!)\r\nProgress that lasts\r\nLow upkeep costs (25%)\r\nCommunity Discord! Full rules list also available here - https://discord.gg/KC36tPqzSb\r\n- - - - -\r\nBasic rules as follows: [Join the Discord for a more comprehensive breakdown]\r\n- Don't bully others.\r\n- No racism/sexism/homophobia etc.\r\n- No cheating/scripting/exploits etc.\r\n- No offline raiding for the first week. Online raids are fine.\r\n- Maximum team limit of four. Allies and friendships are fine.\r\n- No raiding with people outside of your team.\r\n- - - - -",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778526183,
"score": 0,
"last_online": 1778556616,
"icon": null,
"name": "BushRust | AU/NZ | Monthly | No BP Wipes | Low Upkeep",
"connect": "103.15.236.184:28015",
"request": "103.15.236.184:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 16,
"maxplayers": 125,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 66,
"add_date": 1755457504,
"last_update": 1778556616,
"banned": false,
"wipe": 1778178425,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 746,
"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/10081745");
$data = json_decode($json, true);
var_dump($data);