DayZ
[EU/SK] Sur-viv-al (Hardcore 1PP Vanilla) için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10816152json
{
"response": {
"steam_id": "90284554942471196",
"domain": null,
"id": 10816152,
"ip": "87.197.171.19",
"port": 2301,
"query": 27016,
"color": 0,
"city": "Dražkovce",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776822749,
"score": 0,
"last_online": 1776670357,
"icon": null,
"name": "[EU/SK] Sur-viv-al (Hardcore 1PP Vanilla)",
"connect": "87.197.171.19:2301",
"request": "87.197.171.19:27016",
"map": "sakhal",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "SK",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1767110860,
"last_update": 1776822749,
"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": 4563,
"language": "sk",
"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/10816152");
$data = json_decode($json, true);
var_dump($data);