Killing Floor
API pentru BlackMesaAG Alien vs. Predator (AvP) | "Not Bad, for a Human."
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/3699670json
{
"response": {
"steam_id": 90284544351654940,
"domain": null,
"id": 3699670,
"ip": "89.58.3.58",
"port": 7709,
"query": 28854,
"color": 0,
"city": "Nuremberg",
"description": "",
"game": 1250,
"owner": null,
"boosts": 1,
"last_offline": 1775707324,
"score": null,
"last_online": 1776433322,
"icon": null,
"name": "BlackMesaAG Alien vs. Predator (AvP) | \"Not Bad, for a Human.\"",
"connect": "89.58.3.58:7709",
"request": "89.58.3.58:28854",
"map": "KF-A-AliensTunnelBeta1-2",
"gamemode": "Aliens:Killing Floor",
"version": "1.0.6.5",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1712142619,
"last_update": 1776433322,
"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": 142,
"language": "de",
"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/3699670");
$data = json_decode($json, true);
var_dump($data);