Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8274858
json
{
"response": {
"id": 8274858,
"ip": "78.46.101.16",
"port": 10165,
"query": 28055,
"owner_name": "kosak15",
"owner_avatar": "7012c5a8-6ab0-4e49-9c1d-a12fa3f8bff0.jpg",
"color": 0,
"description": null,
"game": 686810,
"owner": 112106,
"boosts": 1,
"last_offline": 1742939861,
"score": 5,
"last_online": 1746844825,
"icon": null,
"name": "[PL/ENG] CGT >> Cossacks HLL << SEED=VIP | discord.gg/cossacks",
"connect": "78.46.101.16:10165",
"request": "78.46.101.16:28055",
"map": "Foy_N",
"gamemode": "Hell Let Loose",
"version": "0.1.1.0",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 40,
"points": 100,
"add_date": 1742939861,
"last_update": 1746844825,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 51409,
"steam_id": 686810,
"name": "Hell Let Loose",
"url": "hell-let-loose",
"popular_maps_available": true
},
"server_owner": {
"username": "kosak15",
"avatar": "7012c5a8-6ab0-4e49-9c1d-a12fa3f8bff0.jpg"
},
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/8274858");
$data = json_decode($json, true);
var_dump($data);