Arma 3
B|Tac Vietnam Server için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11328181json
{
"response": {
"steam_id": "90283998175319062",
"domain": null,
"id": 11328181,
"ip": "125.63.25.24",
"port": 2502,
"query": 2503,
"color": 0,
"city": "Sunshine Coast",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1775398890,
"score": 0,
"last_online": 1776495035,
"icon": null,
"name": "B|Tac Vietnam Server",
"connect": "125.63.25.24:2502",
"request": "125.63.25.24:2503",
"map": "Cam_Lao_Nam",
"gamemode": "B|Tac_Orientation_Vietnam",
"version": "2.20.152984",
"numplayers": 3,
"maxplayers": 37,
"bots": 0,
"secured": false,
"private": true,
"country": "AU",
"status": true,
"votes": 0,
"points": 35,
"add_date": 1774594209,
"last_update": 1776495035,
"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": 114,
"language": "en",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11328181");
$data = json_decode($json, true);
var_dump($data);