Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/4792556json
{
"response": {
"steam_id": "90277487893516311",
"domain": null,
"id": 4792556,
"ip": "54.38.209.2",
"port": 2702,
"query": 27416,
"color": 0,
"city": null,
"description": "DayZ hosting since 2014\r\n12 DayZ Servers, No Money Donations\r\nNext Scheduled Wipe: Sept 1\r\nDiscord : www.spaggie.com/dicksword\r\n\r\nVanilla AF\r\n1PP\r\nDark Nights\r\nSurvival\r\nNo Bullshit\r\n\r\nYou're on your own, survive\r\n\r\nJoining accepts rules",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1764021663,
"score": 0,
"last_online": 1764118215,
"icon": null,
"name": "Spaggies Vanilla Livonia - Hosted by Jack",
"connect": "54.38.209.2:2702",
"request": "54.38.209.2:27416",
"map": "enoch",
"gamemode": null,
"version": "1.28.160123",
"numplayers": 2,
"maxplayers": 70,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1718396925,
"last_update": 1764118215,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"position_game": 1875,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/4792556");
$data = json_decode($json, true);
var_dump($data);