Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/250292
json
{
"response": {
"fps": 73,
"fps_avg": 70,
"entities_count": 132035,
"world_seed": 1162534532,
"world_size": 4000,
"id": 250292,
"ip": "172.96.164.34",
"port": 28221,
"query": 28224,
"color": 0,
"description": "![[PVE]Trap Gaming[2x-8x]Skill Trees, Zombies, Raid Bases, Events](https://i.imgur.com/twMztia.png)\nHighly Customized Full PvE with End of Wipe Purges Events. [2x-8x]+ Skill Trees, Armored Trains, Custom Convoys, Raidable Bases, Zombies, Hordes, Bandits, and Scientists. Over 100 NPC Types, Customized loot. Server Theme = Vanilla++ with Quality of Life.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1755490068,
"score": null,
"last_online": 1755502845,
"icon": null,
"name": "[PVE]Trap Gaming[2x-8x]Skill Trees, Zombies, Raid Bases, Events",
"connect": "172.96.164.34:28221",
"request": "172.96.164.34:28224",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2594",
"numplayers": 1,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1583141378,
"last_update": 1755502845,
"banned": false,
"wipe": 1754596305,
"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/250292");
$data = json_decode($json, true);
var_dump($data);