Killing Floor
[{WaR}] Chilling Floor için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10998549json
{
"response": {
"steam_id": "90284353373545495",
"domain": null,
"id": 10998549,
"ip": "51.81.48.8",
"port": 7707,
"query": 28852,
"color": 0,
"city": "Reston",
"description": null,
"game": 1250,
"owner": null,
"boosts": 1,
"last_offline": 1770680501,
"score": 0,
"last_online": 1776235843,
"icon": null,
"name": "[{WaR}] Chilling Floor",
"connect": "51.81.48.8:7707",
"request": "51.81.48.8:28852",
"map": "KF-WestLondon",
"gamemode": "Killing Floor",
"version": "1.0.6.5",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1769906518,
"last_update": 1776235843,
"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": 351,
"language": "en",
"parked": false,
"app": {
"id": 50,
"steam_id": 1250,
"name": "Killing Floor",
"url": "killing-floor"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10998549");
$data = json_decode($json, true);
var_dump($data);