Killing Floor 2
The Andreason Killing Floor Server! के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/2344137json
{
"response": {
"steam_id": "90284402721910810",
"domain": null,
"id": 2344137,
"ip": "68.232.160.104",
"port": 23000,
"query": 23001,
"color": 0,
"city": "Dallas",
"description": "",
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1776755603,
"score": null,
"last_online": 1777242713,
"icon": null,
"name": "The Andreason Killing Floor Server!",
"connect": "68.232.160.104:23000",
"request": "68.232.160.104:23001",
"map": "KF-BIOTICSLAB",
"gamemode": "Killing Floor 2",
"version": "1147",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1703845110,
"last_update": 1777242713,
"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": 242,
"language": "en",
"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/2344137");
$data = json_decode($json, true);
var_dump($data);