Killing Floor 2
API для IronPunch.org #11 | Gaming for Everyone
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11212628json
{
"response": {
"steam_id": "90284967985346576",
"domain": null,
"id": 11212628,
"ip": "2.248.92.60",
"port": 7777,
"query": 27017,
"color": 0,
"city": "Torsby",
"description": null,
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1777071790,
"score": 0,
"last_online": 1777237819,
"icon": null,
"name": "IronPunch.org #11 | Gaming for Everyone",
"connect": "2.248.92.60:7777",
"request": "2.248.92.60:27017",
"map": "KF-CONTAINMENTSTATION",
"gamemode": "Killing Floor 2",
"version": "1150",
"numplayers": 1,
"maxplayers": 6,
"bots": 2,
"secured": true,
"private": false,
"country": "SE",
"status": true,
"votes": 0,
"points": 40,
"add_date": 1772700906,
"last_update": 1777237819,
"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": 90,
"language": "sv",
"parked": false,
"app": {
"id": 51,
"steam_id": 232090,
"name": "Killing Floor 2",
"url": "killing-floor-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11212628");
$data = json_decode($json, true);
var_dump($data);