Arma 3
SSG - Operations Server için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10747783json
{
"response": {
"steam_id": 90285220272798750,
"domain": null,
"id": 10747783,
"ip": "65.109.75.182",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Helsinki",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776952398,
"score": 0,
"last_online": 1777743636,
"icon": null,
"name": "SSG - Operations Server",
"connect": "65.109.75.182:2302",
"request": "65.109.75.182:2303",
"map": "dagger_island_summer",
"gamemode": "SSG Dagger Island Training Facility",
"version": "2.20.152984",
"numplayers": 5,
"maxplayers": 45,
"bots": 0,
"secured": false,
"private": true,
"country": "FI",
"status": true,
"votes": 0,
"points": 37,
"add_date": 1766252150,
"last_update": 1777743636,
"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": 197,
"language": "fi",
"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/10747783");
$data = json_decode($json, true);
var_dump($data);