Arma 3
[三叉戟ACE]#4服/Q群:923252555/加群下模组/自动任务 için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10716513json
{
"response": {
"steam_id": "90283869325970434",
"domain": null,
"id": 10716513,
"ip": "103.219.39.84",
"port": 3403,
"query": 3404,
"color": 0,
"city": "Beijing",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1775893926,
"score": 0,
"last_online": 1776819734,
"icon": null,
"name": "[三叉戟ACE]#4服/Q群:923252555/加群下模组/自动任务",
"connect": "103.219.39.84:3403",
"request": "103.219.39.84:3404",
"map": "rut_mandol",
"gamemode": "03阿富汗战争",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": false,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1765133502,
"last_update": 1776819734,
"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": 1709,
"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/10716513");
$data = json_decode($json, true);
var_dump($data);