API для Dinkelpojken
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1789378329,
"app": {
"id": 170,
"name": "Conan Exiles",
"steam_id": 440900,
"url": "conan-exiles"
},
"color": 0,
"connect": "173.249.17.71:35100",
"country": "FR",
"domain": null,
"game": 440900,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 16326695,
"ip": "173.249.17.71",
"language": "fr",
"last_update": 1794760459,
"map": "The Isle of Siptah",
"maxplayers": 10,
"name": "Dinkelpojken",
"numplayers": 0,
"official": null,
"points": 0,
"port": 35100,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 35115,
"request": "173.249.17.71:35115",
"secured": true,
"status": false,
"steam_id": null,
"version": null,
"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": 1794760459,
"last_online": 1794581594,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 8651,
"wipe_period": null,
"S0": "true",
"S2": "true",
"S4": "1.000000",
"S6": "0.000000",
"S7": "0",
"S8": "0.500000",
"S9": "6_6_6",
"Sa": "true",
"Sf": "0",
"Sj": "0.700000",
"Sk": "0.100000",
"Sl": "2.000000",
"Sm": "2.000000",
"So": "600.000000",
"Su": "0",
"Sy": "0",
"Sz": "2.000000",
"se": "0.000000",
"CSF": "0",
"S05": "true",
"S15": "0",
"S18": "true",
"S21": "0.500000",
"S22": "0.500000",
"S23": "0.500000",
"S24": "0.500000",
"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",
"listentype": "d",
"environment": "w",
"a2s_protocol": 2,
"players_complete": true,
"EXTERNAL_SERVER_UID": "665099085b879e94c678e84ed6e0fd8b"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/16326695");
$data = json_decode($json, true);
var_dump($data);