Vintage DayZ Chernarus (1.7.2.6/Roaming AI) - Hosted by CombatS için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286704633619480",
"domain": null,
"id": 11638629,
"ip": "141.94.75.11",
"port": 2302,
"query": 2303,
"project_id": null,
"color": 0,
"city": "Gravelines",
"description": null,
"game": 224580,
"owner": null,
"boosts": 1,
"last_offline": 1780839265,
"last_online": 1780830029,
"icon": null,
"name": "Vintage DayZ Chernarus (1.7.2.6/Roaming AI) - Hosted by CombatS",
"connect": "141.94.75.11:2302",
"request": "141.94.75.11:2303",
"map": "chernarus",
"gamemode": "DayZ",
"version": "1.64.144629",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": false,
"private": false,
"country": "FR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779917332,
"last_update": 1780839265,
"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": 19,
"language": "fr",
"parked": false,
"app": {
"id": 33381,
"steam_id": 224580,
"name": "Arma 2: DayZ Mod",
"url": "arma-2-dayz-mod"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11638629");
$data = json_decode($json, true);
var_dump($data);