Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8088244
json
{
"response": {
"id": 8088244,
"ip": "80.223.19.29",
"port": 27017,
"query": 27017,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": null,
"game": 244850,
"owner": null,
"boosts": 1,
"last_offline": 1743068694,
"score": 0,
"last_online": 1742162520,
"icon": null,
"name": "UwUland >:3",
"connect": "80.223.19.29:27017",
"request": "80.223.19.29:27017",
"map": "Star System",
"gamemode": "Space Engineers",
"version": null,
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": true,
"country": "FI",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1741601991,
"last_update": 1743068694,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 97,
"steam_id": 244850,
"name": "Space Engineers",
"url": "space-engineers",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/8088244");
$data = json_decode($json, true);
var_dump($data);