API для The Krewe : Much Luv
JSON для программ, сайтов и прочего
text
json
{
"response": {
"dedicated": true,
"gametype": "g:liberation,p:custom,t:default,v:3215,pure:2,grp:5513290i,bots,dedicated,gravity",
"os": "l",
"product": "doi",
"region": 3,
"steam_id": "90289353391178768",
"domain": null,
"id": 12405063,
"ip": "54.37.178.201",
"port": 29560,
"query": 29560,
"project_id": null,
"color": 0,
"city": "Lisbon",
"description": null,
"game": 447820,
"owner": null,
"boosts": 1,
"last_offline": 1785391376,
"last_online": 1784632375,
"icon": null,
"name": "The Krewe : Much Luv",
"connect": "54.37.178.201:29560",
"request": "54.37.178.201:29560",
"map": "dunkirk",
"gamemode": null,
"version": "3.2.1.5",
"numplayers": 0,
"maxplayers": 49,
"bots": 0,
"secured": true,
"private": null,
"country": "PT",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1784627575,
"last_update": 1785391376,
"ban_reason": null,
"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": 1492,
"language": "pt",
"parked": false,
"app": {
"id": 167,
"steam_id": 447820,
"name": "Day of Infamy",
"url": "day-of-infamy"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/12405063");
$data = json_decode($json, true);
var_dump($data);