Clash Vanilla 1PP | WIPED May 22 | discord.gg/dayz-clash için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286910887033859",
"domain": null,
"id": 2303094,
"ip": "193.25.252.36",
"port": 2202,
"query": 2203,
"project_id": null,
"color": 0,
"city": "Frankfurt am Main",
"description": "",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1779222783,
"last_online": 1781248837,
"icon": null,
"name": "Clash Vanilla 1PP | WIPED May 22 | discord.gg/dayz-clash",
"connect": "193.25.252.36:2202",
"request": "193.25.252.36:2203",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.163047",
"numplayers": 15,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 37,
"add_date": 1703667779,
"last_update": 1781248837,
"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": 4454,
"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/2303094");
$data = json_decode($json, true);
var_dump($data);