Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/1399582
json
{
"response": {
"modded": true,
"fps": 30,
"fps_avg": 28,
"entities_count": 125917,
"world_seed": 154274648,
"world_size": 4000,
"id": 1399582,
"ip": "104.143.3.5",
"port": 28039,
"query": 28036,
"color": 0,
"description": "![RustGamingNation 25x PvE [Events|Purge|Zombies|SkillTree]](https://i.imgur.com/v502SmH.png)\n25x Gather • No Raiding • No Killing • Chill PVE\r\n \r\n Features:\r\n - Instant Craft\r\n - Sky & Water Bases\r\n - Raidable NPC Bases\r\n - Custom Build Sites\r\n - Recyclers At Monuments\r\n - Shop, Kits, Events, And More!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1754589361,
"score": null,
"last_online": 1755697836,
"icon": null,
"name": "RustGamingNation 25x PvE [Events|Purge|Zombies|SkillTree]",
"connect": "104.143.3.5:28039",
"request": "104.143.3.5:28036",
"map": "RustGamingNation Procedural",
"gamemode": "Survival",
"version": "2594",
"numplayers": 2,
"maxplayers": 200,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1696082344,
"last_update": 1755697836,
"banned": false,
"wipe": 1755191698,
"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/1399582");
$data = json_decode($json, true);
var_dump($data);