API dla 暗金传奇装备鉴定 | 符文之语打造系统 | 世界BOS
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": "90286271920761856",
"domain": null,
"id": 11612098,
"ip": "101.34.83.81",
"port": 3766,
"query": 4266,
"project_id": null,
"color": 0,
"city": "Shanghai",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1780390472,
"last_online": 1780695072,
"icon": null,
"name": "暗金传奇装备鉴定 | 符文之语打造系统 | 世界BOS",
"connect": "101.34.83.81:3766",
"request": "101.34.83.81:4266",
"map": "chernarusplus",
"gamemode": null,
"version": "129",
"numplayers": 0,
"maxplayers": 70,
"bots": 76,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779915701,
"last_update": 1780695072,
"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": 7956,
"language": "zh",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11612098");
$data = json_decode($json, true);
var_dump($data);