[RU] FORTNITE [PvP TACTICAL LOOT CARS ] 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90285004133583883",
"domain": null,
"id": 11540369,
"ip": "77.105.160.175",
"port": 2019,
"query": 4019,
"color": 0,
"city": "Amsterdam",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1779355405,
"last_online": 1779393017,
"icon": null,
"name": "[RU] FORTNITE [PvP TACTICAL LOOT CARS ]",
"connect": "77.105.160.175:2019",
"request": "77.105.160.175:4019",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 102,
"maxplayers": 110,
"bots": 102,
"secured": true,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 94,
"add_date": 1779355405,
"last_update": 1779393017,
"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": 1610,
"language": "nl",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11540369");
$data = json_decode($json, true);
var_dump($data);