Arma 3
4th Ranger Battalion Operations Server için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11429532json
{
"response": {
"steam_id": "90284790541347853",
"domain": null,
"id": 11429532,
"ip": "40.143.60.116",
"port": 27586,
"query": 27587,
"color": 0,
"city": "Franklin",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776816202,
"score": 0,
"last_online": 1776820236,
"icon": null,
"name": "4th Ranger Battalion Operations Server",
"connect": "40.143.60.116:27586",
"request": "40.143.60.116:27587",
"map": "dagger_island_summer",
"gamemode": "4RB Training Map v2.2.0",
"version": "2.20.152984",
"numplayers": 2,
"maxplayers": 56,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 33,
"add_date": 1774600507,
"last_update": 1776820236,
"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": 188,
"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/11429532");
$data = json_decode($json, true);
var_dump($data);