API для 4Netplayers Conan Exiles Server La Bonoberie
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1791025476,
"app": {
"id": 170,
"name": "Conan Exiles",
"steam_id": 440900,
"url": "conan-exiles"
},
"color": 0,
"connect": "46.228.192.39:20400",
"country": "DE",
"domain": null,
"game": 440900,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 17662758,
"ip": "46.228.192.39",
"language": "de",
"last_update": 1791147339,
"map": "ConanSandbox",
"maxplayers": 10,
"name": "4Netplayers Conan Exiles Server La Bonoberie",
"numplayers": 1,
"official": false,
"points": 35,
"port": 20400,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 20410,
"request": "46.228.192.39:20410",
"secured": false,
"status": true,
"steam_id": null,
"version": "378132",
"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": null,
"last_online": 1791147339,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 847,
"wipe_period": null,
"S0": false,
"S4": 1,
"S7": 0,
"S8": 1,
"Sa": false,
"Sf": 0,
"Sl": 2,
"Sx": 22,
"Sy": 0,
"Sz": 1.5,
"CSF": 0,
"S05": false,
"S15": 0,
"S21": 1,
"S22": 1,
"S23": 1,
"S24": 1,
"S25": false,
"S30": 0,
"S117": false,
"S119": false,
"S120": "",
"S122": true,
"guid": "526bd2b9aa8f4bd90a8d5f6153640698",
"kdsUri": "https://todo",
"buildId": 378132,
"dedicated": false,
"serverUID": "526bd2b9aa8f4bd90a8d5f6153640698"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/17662758");
$data = json_decode($json, true);
var_dump($data);