Killing Floor
API pentru Just Another Killing Floor Server | Normal #1
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10474400json
{
"response": {
"steam_id": "90284867292722185",
"domain": null,
"id": 10474400,
"ip": "152.53.91.98",
"port": 7707,
"query": 28852,
"color": 0,
"city": "Manassas",
"description": null,
"game": 1250,
"owner": null,
"boosts": 1,
"last_offline": 1777298602,
"score": 0,
"last_online": 1777580429,
"icon": null,
"name": "Just Another Killing Floor Server | Normal #1",
"connect": "152.53.91.98:7707",
"request": "152.53.91.98:28852",
"map": "KF-Transit",
"gamemode": "Killing Floor",
"version": "1.0.6.5",
"numplayers": 2,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 55,
"add_date": 1760513537,
"last_update": 1777580429,
"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": 11,
"language": "en",
"parked": false,
"app": {
"id": 50,
"steam_id": 1250,
"name": "Killing Floor",
"url": "killing-floor"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10474400");
$data = json_decode($json, true);
var_dump($data);