API dla 7988 5.20新档 送枪卡 小队福利 新人礼包 特色魔改 百倍机场 日志公开 严查外挂
JSON dla programów, stron i innych
text
json
{
"response": {
"build": 118271,
"extraFlags": 0,
"nameHeaderRaw": "f0df1c010003",
"statusFlags": 96,
"type": 0,
"unknownStatusFlags": 96,
"steam_id": null,
"domain": null,
"id": 11741597,
"ip": "202.189.6.190",
"port": 7083,
"query": 7083,
"color": 0,
"city": "Beijing",
"description": null,
"game": 513710,
"owner": null,
"boosts": 1,
"last_offline": 1780666046,
"last_online": 1780660221,
"icon": null,
"name": "7988 5.20新档 送枪卡 小队福利 新人礼包 特色魔改 百倍机场 日志公开 严查外挂",
"connect": "202.189.6.190:7083",
"request": "202.189.6.190:7083",
"map": null,
"gamemode": "community-direct",
"version": "1.3.0.1.118271",
"numplayers": 0,
"maxplayers": 128,
"bots": 0,
"secured": null,
"private": false,
"country": "CN",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780412911,
"last_update": 1780666046,
"banned": false,
"wipe": null,
"official": false,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5314,
"language": "zh",
"parked": false,
"app": {
"id": 11540,
"steam_id": 513710,
"name": "SCUM",
"url": "scum"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11741597");
$data = json_decode($json, true);
var_dump($data);