API для Toxic Gaming EU10x No BPs | PVP | Better Loot+ |
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 113779,
"world_seed": 1337,
"world_size": 5000,
"steam_id": "90286401638145046",
"domain": null,
"id": 5233941,
"ip": "185.36.205.105",
"port": 28015,
"query": 28016,
"color": 0,
"city": "City of London",
"description": "\nWelcome to Toxic Gaming (EU) 10X! \r\n\r\nKey Features:\r\n\r\n- 10X gather rate\r\n- Active clans\r\n- Kits, ranks, and fast queue access available\r\n- Leaderboards for competitive play\r\n- Exciting custom maps\r\n- Outpost and Bandit Camp merged for convenience\r\n- Autolock for balanced gameplay\r\n- 12-player clan limit\r\n- Strict rules against cheating, hate speech, and spamming. Check them at toxicgaming.net/rules\r\n\r\nJoin Toxic Gaming (EU) 10X and enjoy an exhilarating Rust experience. Visit https://toxicgaming.net/ for more information!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780145015,
"last_online": 1780570229,
"icon": null,
"name": "Toxic Gaming EU10x No BPs | PVP | Better Loot+ |",
"connect": "185.36.205.105:28015",
"request": "185.36.205.105:28016",
"map": "Toxic Gaming Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 3,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1721207559,
"last_update": 1780570229,
"banned": false,
"wipe": 1780145036,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1444,
"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/5233941");
$data = json_decode($json, true);
var_dump($data);