DayZ
Wild Animal Summer Sakhal |PVE|Cust-Map|Trader|AI|Loot+|BB+|Exp için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/9957512json
{
"response": {
"steam_id": "90284732203674633",
"domain": null,
"id": 9957512,
"ip": "88.156.95.229",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Wroclaw",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776279114,
"score": 0,
"last_online": 1776780653,
"icon": null,
"name": "Wild Animal Summer Sakhal |PVE|Cust-Map|Trader|AI|Loot+|BB+|Exp",
"connect": "88.156.95.229:2302",
"request": "88.156.95.229:2303",
"map": "sakhal",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1754302698,
"last_update": 1776780653,
"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": 3057,
"language": "pl",
"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/9957512");
$data = json_decode($json, true);
var_dump($data);