Arma 3
[三叉戟ACE]TATG战术组拟真服 Q群253160043 için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10512280json
{
"response": {
"steam_id": "90283869326569474",
"domain": null,
"id": 10512280,
"ip": "103.219.39.84",
"port": 3303,
"query": 3304,
"color": 0,
"city": "Beijing",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1775911316,
"score": 0,
"last_online": 1776819735,
"icon": null,
"name": "[三叉戟ACE]TATG战术组拟真服 Q群253160043",
"connect": "103.219.39.84:3303",
"request": "103.219.39.84:3304",
"map": "Altis",
"gamemode": "20200216",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": false,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1761422613,
"last_update": 1776819735,
"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": 1473,
"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/10512280");
$data = json_decode($json, true);
var_dump($data);