Killing Floor 2
NFOservers.com - Seattle # 04 - Hard difficulty के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/6013600json
{
"response": {
"steam_id": "90284980592287769",
"domain": null,
"id": 6013600,
"ip": "162.248.94.186",
"port": 7777,
"query": 27015,
"color": 0,
"city": "Seattle",
"description": null,
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1774156927,
"score": 0,
"last_online": 1777243832,
"icon": null,
"name": "NFOservers.com - Seattle # 04 - Hard difficulty",
"connect": "162.248.94.186:7777",
"request": "162.248.94.186:27015",
"map": "KF-NUKED",
"gamemode": "Killing Floor 2",
"version": "1150",
"numplayers": 3,
"maxplayers": 6,
"bots": 3,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 40,
"add_date": 1727438309,
"last_update": 1777243832,
"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": 66,
"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/6013600");
$data = json_decode($json, true);
var_dump($data);