Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/450944
json
{
"response": {
"fps": 59,
"fps_avg": 59,
"entities_count": 1970,
"world_seed": 1337,
"world_size": 3500,
"id": 450944,
"ip": "64.40.9.37",
"port": 29010,
"query": 29015,
"color": 0,
"description": "\nWelcome to Perfect Aim Train.\r\n\r\nWe have a diverse arrangement of different events and game modes designed to help you perfect your aim.\r\n\r\nThis includes Combat Arenas, where your only goal is to eliminate the enemy team on any one of our many flat or custom maps, designed to simulate real fights. With countless loadout and gun combinations, you will be able to master every weapon.\r\n\r\nOur Targets & Aimtrain bots help you perfect your aim at ANY distance, with both moving and stationary bots to train on, you can be sure youll be dominating the battlefield in no time.\r\n\r\nFree For All: fight for the most kills in our fast paced free for all game mode. With many different custom made maps to chose from, every fight feels unique\r\n\r\nIf youd like to support our server, go to perfect-rust.com to donate for VIP\r\n\r\nNeed Help? Join our discord! discord.gg/pat\r\n\r\n[NA] Perfect Aim Train Servers:\r\n- Main na.perfect-rust.com:28015\r\n- Medium na.perfect-rust.com:29015\r\n\r\n[EU] Perfect Aim Train Servers:\r\n- Main eu.perfect-rust.com:28015\r\n- Medium eu.perfect-rust.com:29015",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1752871558,
"score": null,
"last_online": 1755694824,
"icon": null,
"name": "EU | Perfect Aim Train Medium | Combat Arenas | Targets | Aimbo",
"connect": "64.40.9.37:29010",
"request": "64.40.9.37:29015",
"map": "PAT Map FPS+",
"gamemode": "Survival",
"version": "2594",
"numplayers": 48,
"maxplayers": 250,
"bots": 0,
"secured": false,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 65,
"add_date": 1630779884,
"last_update": 1755694824,
"banned": false,
"wipe": 1755660855,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/450944");
$data = json_decode($json, true);
var_dump($data);