最后的信号: 72小时极限撤离挑战赛 için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90285156594549771",
"domain": null,
"id": 11541742,
"ip": "119.29.208.46",
"port": 31072,
"query": 31572,
"color": 0,
"city": "Guangzhou",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1779355440,
"last_online": 1779487377,
"icon": null,
"name": "最后的信号: 72小时极限撤离挑战赛",
"connect": "119.29.208.46:31072",
"request": "119.29.208.46:31572",
"map": "chernarusplus",
"gamemode": null,
"version": "129",
"numplayers": 0,
"maxplayers": 70,
"bots": 61,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779355440,
"last_update": 1779487377,
"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": 5687,
"language": "zh",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11541742");
$data = json_decode($json, true);
var_dump($data);