Rust
API для [AU] Broken 3x Au Solo/Duo/Trio/Quad [3x loot]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11116253json
{
"response": {
"fps": 462,
"fps_avg": 461,
"entities_count": 32058,
"world_seed": 32688,
"world_size": 2500,
"steam_id": "90285061178448909",
"domain": null,
"id": 11116253,
"ip": "51.161.145.178",
"port": 28462,
"query": 28463,
"color": 0,
"city": "North Sydney",
"description": "![[AU] Broken 3x Au Solo/Duo/Trio/Quad [3x loot]](https://imgur.com/TeBbmo7.jpgmo7.)\nBroken 3x new starting up server BEST 3x OUT have some fun.\r\nDiscord https://discord.gg/7dqGYT97ub\r\nActive Admin\r\n3x loot\r\nKits\r\n3x craft speed\r\n/trade\r\nskipnight\r\nWeekly wipe/BP\r\n/sethome\r\n/Skinbox\r\nsmall map till more pop!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778715738,
"score": 0,
"last_online": 1777870219,
"icon": null,
"name": "[AU] Broken 3x Au Solo/Duo/Trio/Quad [3x loot]",
"connect": "51.161.145.178:28462",
"request": "51.161.145.178:28463",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1770112818,
"last_update": 1778715738,
"banned": false,
"wipe": 1777007366,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 7214,
"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/11116253");
$data = json_decode($json, true);
var_dump($data);