Call of Duty: Black Ops II
API для Malevolent | Buried | Bank | Missions | Bets
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11139151json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11139151,
"ip": "82.22.20.65",
"port": 4976,
"query": 4976,
"color": 0,
"city": "London",
"description": null,
"game": 202970,
"owner": 59282,
"boosts": 1,
"last_offline": 1776840753,
"score": 0,
"last_online": 1776387622,
"icon": null,
"name": "Malevolent | Buried | Bank | Missions | Bets",
"connect": "82.22.20.65:4976",
"request": "82.22.20.65:4976",
"map": "zm_buried",
"gamemode": "Zombies",
"version": "5202",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": null,
"private": false,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1770638826,
"last_update": 1776840753,
"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": 14,
"language": "en",
"parked": false,
"app": {
"id": 1546,
"steam_id": 202970,
"name": "Call of Duty: Black Ops II",
"url": "call-of-duty-black-ops-ii"
},
"server_owner": {
"username": "malevolent",
"avatar": "56cc986e-38ea-43ac-944e-ebbd3620aacd.jpg",
"last_online": 1776801252
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11139151");
$data = json_decode($json, true);
var_dump($data);