API для Guild Of Vikings
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1779220969,
"app": {
"id": 170,
"name": "Conan Exiles",
"steam_id": 440900,
"url": "conan-exiles"
},
"color": 0,
"connect": "144.91.68.221:28800",
"country": "FR",
"domain": null,
"game": 440900,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 11505710,
"ip": "144.91.68.221",
"language": "fr",
"last_update": 1794671014,
"map": "ConanSandbox",
"maxplayers": 10,
"name": "Guild Of Vikings",
"numplayers": 0,
"official": false,
"points": 0,
"port": 28800,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 28815,
"request": "144.91.68.221:28815",
"secured": false,
"status": false,
"steam_id": null,
"version": "383024",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Lauterbourg",
"description": null,
"disabled_modules": [],
"gamemode": "Conan Exiles",
"hidden": false,
"last_offline": 1794671014,
"last_online": 1794579257,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 7997,
"wipe_period": null,
"S0": true,
"S2": true,
"S4": 1,
"S7": 1,
"S8": 1,
"Sa": true,
"Sf": 0,
"Sl": 2,
"So": 600,
"Sp": 0,
"Sv": 20,
"Sw": 60,
"Sy": 0,
"Sz": 1,
"CSF": 0,
"S05": true,
"S15": 0,
"S21": 1,
"S22": 1,
"S23": 1,
"S24": 1,
"S25": true,
"S30": 0,
"S92": 1800,
"S93": 1800,
"S94": 1800,
"S95": 1800,
"S96": 1800,
"S97": 1800,
"S98": 1800,
"S99": 2300,
"S100": 2300,
"S101": 2300,
"S102": 2300,
"S103": 2300,
"S104": 2300,
"S105": 2300,
"S106": false,
"S107": false,
"S108": false,
"S109": false,
"S110": false,
"S111": false,
"S112": false,
"S113": true,
"S117": false,
"S119": false,
"S120": "",
"S121": false,
"S122": true,
"S125": true,
"guid": "94ba3665546150fb6b75194c6c19dc5f",
"kdsUri": "https://todo",
"buildId": 383024,
"dedicated": false,
"serverUID": "94ba3665546150fb6b75194c6c19dc5f"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11505710");
$data = json_decode($json, true);
var_dump($data);