Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/501886
json
{
"response": {
"id": 501886,
"ip": "144.21.50.111",
"port": 25565,
"query": 25565,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "",
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1737125022,
"score": null,
"last_online": 1743454286,
"icon": null,
"name": "RulerCraftThe World Is Yours ♦ Earth ♦ Towns ♦ Nations ♦ Economy ♦ Perks ♦ ♦",
"connect": "play.rulercraft.com:25565",
"request": "144.21.50.111:25565",
"map": null,
"gamemode": null,
"version": "Velocity 1.7.2-1.21.4",
"numplayers": 18,
"maxplayers": 200,
"bots": 0,
"secured": false,
"private": null,
"country": "GB",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1638731460,
"last_update": 1743454286,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/501886");
$data = json_decode($json, true);
var_dump($data);