DayZ
3730 | ASIA PACIFIC - SY | 1st Person Only için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/8462796json
{
"response": {
"steam_id": 90284738288668690,
"domain": null,
"id": 8462796,
"ip": "128.0.114.32",
"port": 10900,
"query": 10901,
"color": 0,
"city": "Sydney",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776290513,
"score": 0,
"last_online": 1776780629,
"icon": null,
"name": "3730 | ASIA PACIFIC - SY | 1st Person Only",
"connect": "128.0.114.32:10900",
"request": "128.0.114.32:10901",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 21,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 49,
"add_date": 1743887821,
"last_update": 1776780629,
"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": 1283,
"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/8462796");
$data = json_decode($json, true);
var_dump($data);