API для Chains of War 24/7 Raiding and PVP, Kits and 3 x Harvest - Dedicated Server
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1789777864,
"app": {
"id": 170,
"name": "Conan Exiles",
"steam_id": 440900,
"url": "conan-exiles"
},
"color": 0,
"connect": "151.244.99.3:9718",
"country": "US",
"domain": null,
"game": 440900,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 16733784,
"ip": "151.244.99.3",
"language": "en",
"last_update": 1794671015,
"map": "ConanSandbox",
"maxplayers": 40,
"name": "Chains of War 24/7 Raiding and PVP, Kits and 3 x Harvest - Dedicated Server",
"numplayers": 0,
"official": false,
"points": 0,
"port": 9718,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 17143,
"request": "151.244.99.3:17143",
"secured": false,
"status": false,
"steam_id": null,
"version": "366792",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Лос-Анджелес",
"description": null,
"disabled_modules": [],
"gamemode": "Conan Exiles",
"hidden": false,
"last_offline": 1794671015,
"last_online": 1794395787,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 8766,
"wipe_period": null,
"S0": true,
"S2": true,
"S4": 0.8,
"S7": 1,
"S8": 0.5,
"Sa": true,
"Sb": 0.5,
"Sf": 0,
"Sl": 3,
"Sy": 0,
"Sz": 1.5,
"CSF": 0,
"S05": false,
"S15": 0,
"S17": "8:0\n3724540700\n3720736758\n3721273439\n3729640272\n3721090132\n3728208565\n3721096154\n3721019326",
"S21": 0.5,
"S22": 0.5,
"S23": 0.5,
"S24": 0.5,
"S25": false,
"S30": 0,
"S117": false,
"S119": false,
"S120": "",
"S122": true,
"S125": true,
"guid": "8c6a47a412a8ec369371ca9a2a82107f",
"kdsUri": "https://todo",
"buildId": 366792,
"dedicated": false,
"serverUID": "8c6a47a412a8ec369371ca9a2a82107f"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/16733784");
$data = json_decode($json, true);
var_dump($data);