Killing Floor 2
!(CN)KF2-Community-Server#72+Qqun1074014211 के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11480743json
{
"response": {
"steam_id": "90285008528265232",
"domain": null,
"id": 11480743,
"ip": "114.66.40.234",
"port": 10072,
"query": 20072,
"color": 0,
"city": "Beijing",
"description": null,
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1776614605,
"score": 0,
"last_online": 1777238528,
"icon": null,
"name": "!(CN)KF2-Community-Server#72+Qqun1074014211",
"connect": "114.66.40.234:10072",
"request": "114.66.40.234:20072",
"map": "kf-dust2_challenge",
"gamemode": "Killing Floor 2",
"version": "1150",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774979211,
"last_update": 1777238528,
"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": 789,
"language": "zh",
"parked": false,
"app": {
"id": 51,
"steam_id": 232090,
"name": "Killing Floor 2",
"url": "killing-floor-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11480743");
$data = json_decode($json, true);
var_dump($data);