Arma 3
The BUDDIES Op Server için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11448648json
{
"response": {
"steam_id": "90284790372274201",
"domain": null,
"id": 11448648,
"ip": "67.249.187.84",
"port": 2402,
"query": 2403,
"color": 0,
"city": "Herkimer",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776736950,
"score": 0,
"last_online": 1776819029,
"icon": null,
"name": "The BUDDIES Op Server",
"connect": "67.249.187.84:2402",
"request": "67.249.187.84:2403",
"map": "Altis",
"gamemode": "Rebellion%20Test",
"version": "2.20.153649",
"numplayers": 2,
"maxplayers": 5,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 47,
"add_date": 1774977949,
"last_update": 1776819029,
"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": 49,
"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/11448648");
$data = json_decode($json, true);
var_dump($data);