Killing Floor 2
猛男妙妙屋 ⑤ | 猛新-困Nan | QQ群 635757818 için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/5811718json
{
"response": {
"steam_id": "90284968213304330",
"domain": null,
"id": 5811718,
"ip": "222.128.39.139",
"port": 20005,
"query": 20015,
"color": 0,
"city": "Beijing",
"description": null,
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1774122674,
"score": 0,
"last_online": 1777242639,
"icon": null,
"name": "猛男妙妙屋 ⑤ | 猛新-困Nan | QQ群 635757818",
"connect": "222.128.39.139:20005",
"request": "222.128.39.139:20015",
"map": "kf-kaedeprintgallery",
"gamemode": "Killing Floor 2",
"version": "1150",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 34,
"add_date": 1725026493,
"last_update": 1777242639,
"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": 87,
"language": "zh",
"parked": false,
"app": {
"id": 51,
"steam_id": 232090,
"name": "Killing Floor 2",
"url": "killing-floor-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/5811718");
$data = json_decode($json, true);
var_dump($data);