DUG 1.29 EXP için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286602247617547",
"domain": null,
"id": 11724724,
"ip": "51.222.245.31",
"port": 2602,
"query": 27016,
"color": 0,
"city": "Montreal",
"description": "You've found the secret Admin Sky base of DUG!",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1780347194,
"last_online": 1780592438,
"icon": null,
"name": "DUG 1.29 EXP",
"connect": "51.222.245.31:2602",
"request": "51.222.245.31:27016",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.163047",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "CA",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780347194,
"last_update": 1780592438,
"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": 4373,
"language": "en",
"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/11724724");
$data = json_decode($json, true);
var_dump($data);