API для Primal Rage Gaming - Rust PvE ┃Raidable Bases┃Bradley Event
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 81,
"fps_avg": 75,
"entities_count": 192503,
"world_seed": 968703268,
"world_size": 5000,
"steam_id": "90286538881345551",
"domain": null,
"id": 11607270,
"ip": "136.175.187.93",
"port": 28019,
"query": 28021,
"color": 0,
"city": "Dallas",
"description": "\nWelcome to Primal Rage Gaming PVE RUST\r\nCheck us out on Discord: https://www.discord.gg/primalrage\r\n\r\nRules: /menu\r\n\r\nGENERAL CONDUCT:\r\n* Be respectful to all players and staff\r\n* Toxicity, griefing, raiding players or player bases will result in bans,\r\n* Racism, hate speech, slurs, personal attacks, or political/religious/conspiracy discussions are not tolerated,\r\n* No advertising other servers or recruiting players,\r\n* No negative or argumentative discussion about the server\r\n\r\nPRG Rust has alot to offer.\r\nSkill Tree - Convoy - Dungeons - Raidable Bases - Heli Signals - Hacable Crates",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780392853,
"last_online": 1780591234,
"icon": null,
"name": "Primal Rage Gaming - Rust PvE ┃Raidable Bases┃Bradley Event",
"connect": "136.175.187.93:28019",
"request": "136.175.187.93:28021",
"map": "Custom Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779915501,
"last_update": 1780591234,
"banned": false,
"wipe": 1778256764,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5457,
"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/11607270");
$data = json_decode($json, true);
var_dump($data);