DayZ
API для GER Hungrige Wölfe PVE Quest /Trader /Helis
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/2303606json
{
"response": {
"steam_id": null,
"domain": null,
"id": 2303606,
"ip": "138.201.78.141",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Falkenstein",
"description": "klausi",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1775673128,
"score": 3,
"last_online": 1775667016,
"icon": null,
"name": "GER Hungrige Wölfe PVE Quest /Trader /Helis",
"connect": "138.201.78.141:2302",
"request": "138.201.78.141:2303",
"map": "chernarusplus",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 80,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1703667946,
"last_update": 1775673128,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4069,
"language": "de",
"parked": false,
"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/2303606");
$data = json_decode($json, true);
var_dump($data);