Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7423005
json
{
"response": {
"id": 7423005,
"ip": "77.53.140.150",
"port": 16261,
"query": 16261,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "Have fun",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1739383752,
"score": 0,
"last_online": 1743607871,
"icon": null,
"name": "Swedish PZ-server",
"connect": "77.53.140.150:16261",
"request": "77.53.140.150:16261",
"map": "Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "41.78.16",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "SE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1739202575,
"last_update": 1743607871,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/7423005");
$data = json_decode($json, true);
var_dump($data);