DayZ
LIVINGxDEAD - Summer Sakhal - 1PP | Dark Nights için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/8629893json
{
"response": {
"steam_id": "90285632864977944",
"domain": null,
"id": 8629893,
"ip": "116.202.197.169",
"port": 3402,
"query": 27027,
"color": 0,
"city": "Falkenstein",
"description": "Vanilla Summer Sakhal, Dark nights, 1PP, Bases are allowed, Survive!!",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1775655728,
"score": 0,
"last_online": 1778529617,
"icon": null,
"name": "LIVINGxDEAD - Summer Sakhal - 1PP | Dark Nights",
"connect": "116.202.197.169:3402",
"request": "116.202.197.169:27027",
"map": "sakhal",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 2,
"maxplayers": 25,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 64,
"add_date": 1745152135,
"last_update": 1778529617,
"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": 388,
"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/8629893");
$data = json_decode($json, true);
var_dump($data);