[ESP]FENTANILO ZOMBI|PVP|NO TRADE|LOOT+|6-4-26 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286632731951104",
"domain": null,
"id": 11724752,
"ip": null,
"port": null,
"query": null,
"project_id": null,
"color": 0,
"city": "Gata de Gorgos",
"description": null,
"game": 1024020,
"owner": null,
"boosts": 1,
"last_offline": 1780646002,
"last_online": 1780685452,
"icon": null,
"name": "[ESP]FENTANILO ZOMBI|PVP|NO TRADE|LOOT+|6-4-26",
"connect": null,
"request": null,
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.163047",
"numplayers": 1,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "ES",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780387397,
"last_update": 1780685452,
"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": 57,
"language": "es",
"parked": true,
"app": {
"id": 54695,
"steam_id": 1024020,
"name": "DayZ Experimental",
"url": "dayz-experimental"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11724752");
$data = json_decode($json, true);
var_dump($data);