Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7777808
json
{
"response": {
"id": 7777808,
"ip": "65.108.41.225",
"port": 7788,
"query": 27020,
"color": 0,
"description": null,
"game": 346110,
"owner": null,
"boosts": 1,
"last_offline": 1755040458,
"score": 0,
"last_online": 1756371133,
"icon": null,
"name": "SurviveARK - Valguero_P - by sibbi",
"connect": "65.108.41.225:7788",
"request": "65.108.41.225:27020",
"map": "Valguero_P",
"gamemode": "TestGameMode_C",
"version": "360.11",
"numplayers": 0,
"maxplayers": 12,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1739920127,
"last_update": 1756371133,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"app": {
"id": 67,
"steam_id": 346110,
"name": "ARK: Survival Evolved",
"url": "ark-survival-evolved",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/7777808");
$data = json_decode($json, true);
var_dump($data);