KINJAL PLUS 3PP l CHERNO l RUS l WIPE 10.06 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": 90286855608212500,
"domain": null,
"id": 11778644,
"ip": "212.22.93.250",
"port": 2332,
"query": 2335,
"project_id": null,
"color": 5,
"city": "Moscow",
"description": null,
"game": 221100,
"owner": 200007,
"boosts": 21,
"last_offline": 1781123068,
"last_online": 1781131212,
"icon": null,
"name": "KINJAL PLUS 3PP l CHERNO l RUS l WIPE 10.06",
"connect": "212.22.93.250:2332",
"request": "212.22.93.250:2335",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.163047",
"numplayers": 0,
"maxplayers": 90,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 1260,
"add_date": 1781088419,
"last_update": 1781131212,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3,
"language": "ru",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "multi_media",
"avatar": "4a0b1803-c17d-4ee1-8521-a50c32e58fb1.webp"
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11778644");
$data = json_decode($json, true);
var_dump($data);