[FR][OTEA] soirée vietnam | ts3.otea.fr 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": 90286936094370820,
"domain": null,
"id": 11763896,
"ip": "195.154.170.15",
"port": 2402,
"query": 2403,
"project_id": null,
"color": 0,
"city": "Paris",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1781350976,
"last_online": 1781298638,
"icon": null,
"name": "[FR][OTEA] soirée vietnam | ts3.otea.fr",
"connect": "195.154.170.15:2402",
"request": "195.154.170.15:2403",
"map": "cam_lao_nam",
"gamemode": "Ghosts in the green V2",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 14,
"bots": 0,
"secured": false,
"private": true,
"country": "FR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780932225,
"last_update": 1781350976,
"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": 5438,
"language": "fr",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11763896");
$data = json_decode($json, true);
var_dump($data);