Killing Floor 2
API for masterchief's killing floor 2 server(SURV,OBJ, END and WEEK)
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/559209json
{
"response": {
"steam_id": "90284987453788176",
"domain": null,
"id": 559209,
"ip": "108.61.116.3",
"port": 23000,
"query": 23001,
"color": 0,
"city": "Poplar",
"description": "",
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1776834230,
"score": null,
"last_online": 1777251703,
"icon": null,
"name": "masterchief's killing floor 2 server(SURV,OBJ, END and WEEK)",
"connect": "108.61.116.3:23000",
"request": "108.61.116.3:23001",
"map": "KF-Nightmare",
"gamemode": "Killing Floor 2",
"version": "1150",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1666643233,
"last_update": 1777251703,
"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": 101,
"language": "en",
"parked": false,
"app": {
"id": 51,
"steam_id": 232090,
"name": "Killing Floor 2",
"url": "killing-floor-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/559209");
$data = json_decode($json, true);
var_dump($data);