DayZ
Dayz Official 3 лицо PVE LOOT+ Raid Time RU için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11422806json
{
"response": {
"steam_id": 0,
"domain": null,
"id": 11422806,
"ip": "72.56.119.181",
"port": 25650,
"query": 26543,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776397418,
"score": 0,
"last_online": 1776422419,
"icon": null,
"name": "Dayz Official 3 лицо PVE LOOT+ Raid Time RU",
"connect": "72.56.119.181:25650",
"request": "72.56.119.181:26543",
"map": "enoch",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 45,
"maxplayers": 80,
"bots": 45,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 65,
"add_date": 1774600053,
"last_update": 1776422419,
"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": 703,
"language": "de",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11422806");
$data = json_decode($json, true);
var_dump($data);