Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7276611
json
{
"response": {
"id": 7276611,
"ip": "49.12.169.209",
"port": 18104,
"query": 18104,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": null,
"game": 1066890,
"owner": null,
"boosts": 1,
"last_offline": 1743087254,
"score": 0,
"last_online": 1743007353,
"icon": null,
"name": "lowfuelmotorsport.com | LFMR | 184337|1",
"connect": "49.12.169.209:14104",
"request": "49.12.169.209:18104",
"map": "Adelaide_Historic",
"gamemode": "Automobilista 2",
"version": null,
"numplayers": 0,
"maxplayers": 5,
"bots": 0,
"secured": false,
"private": true,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1736697776,
"last_update": 1743087254,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 48189,
"steam_id": 1066890,
"name": "Automobilista 2",
"url": "automobilista-2",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/7276611");
$data = json_decode($json, true);
var_dump($data);