DayZ
[PvE]Unfinished Business[GER/eng] için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11421361json
{
"response": {
"steam_id": "90284748424483862",
"domain": null,
"id": 11421361,
"ip": "147.93.161.80",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Lauterbourg",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776438204,
"score": 0,
"last_online": 1776801639,
"icon": null,
"name": "[PvE]Unfinished Business[GER/eng]",
"connect": "147.93.161.80:2302",
"request": "147.93.161.80:2303",
"map": "deerisle",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 3,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 37,
"add_date": 1774600037,
"last_update": 1776801639,
"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": 1770,
"language": "fr",
"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/11421361");
$data = json_decode($json, true);
var_dump($data);