Arma 3
ACRE için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/8333082json
{
"response": {
"steam_id": "90284516654265353",
"domain": null,
"id": 8333082,
"ip": "43.248.119.8",
"port": 6150,
"query": 6151,
"color": 0,
"city": "Zhenjiang",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776336823,
"score": 0,
"last_online": 1776451327,
"icon": null,
"name": "ACRE",
"connect": "43.248.119.8:6150",
"request": "43.248.119.8:6151",
"map": "cfb_moosehead",
"gamemode": "KEN%20Comprehensive%20Training%20Ground-v2-moosehead",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": true,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1743526268,
"last_update": 1776451327,
"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": 1106,
"language": "zh",
"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/8333082");
$data = json_decode($json, true);
var_dump($data);