Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/592203
json
{
"response": {
"id": 592203,
"ip": "120.77.58.213",
"port": 41164,
"query": 41164,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "",
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1737244097,
"score": null,
"last_online": 1743013305,
"icon": null,
"name": "☪ Heretic Playground 1.8.x - 1.20.x 一站式服务器 | 生存空岛粘液地皮领地迷宫跑酷 | 让你一次玩个够",
"connect": "game.hcmc.top:41164",
"request": "120.77.58.213:41164",
"map": null,
"gamemode": null,
"version": "§d鼠标放介里§8 §a§l►§b§l►§c§l►§d§l► §a§l0§7/§f§l200",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": false,
"private": null,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1669241010,
"last_update": 1743013305,
"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/592203");
$data = json_decode($json, true);
var_dump($data);