Killing Floor 2
[TheOutpost][GA] KF2 Custom and Official Maps için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/1464242json
{
"response": {
"steam_id": "90284898285201410",
"domain": null,
"id": 1464242,
"ip": "192.223.28.82",
"port": 7777,
"query": 27016,
"color": 0,
"city": "Atlanta",
"description": "",
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1777032795,
"score": null,
"last_online": 1777242655,
"icon": null,
"name": "[TheOutpost][GA] KF2 Custom and Official Maps",
"connect": "192.223.28.82:7777",
"request": "192.223.28.82:27016",
"map": "KF-INFERNALREALM",
"gamemode": "Killing Floor 2",
"version": "1150",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1697310969,
"last_update": 1777242655,
"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": 206,
"language": "en",
"parked": false,
"app": {
"id": 51,
"steam_id": 232090,
"name": "Killing Floor 2",
"url": "killing-floor-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/1464242");
$data = json_decode($json, true);
var_dump($data);