API для [NEW] Drakoria.es X10/NoWipe/ #Gen2 - (v358.24)
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1765121210,
"app": {
"id": 67,
"name": "ARK: Survival Evolved",
"steam_id": 346110,
"url": "ark-survival-evolved"
},
"color": 0,
"connect": "85.49.18.194:10010",
"country": "ES",
"domain": null,
"game": 346110,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 10695591,
"ip": "85.49.18.194",
"language": "es",
"last_update": 1794752088,
"map": "Gen2",
"maxplayers": 70,
"name": "[NEW] Drakoria.es X10/NoWipe/ #Gen2 - (v358.24)",
"numplayers": 3,
"official": null,
"points": 32,
"port": 10010,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 10055,
"request": "85.49.18.194:10055",
"secured": true,
"status": true,
"steam_id": "90297504175173638",
"version": "358.24",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Andratx",
"description": null,
"disabled_modules": [],
"gamemode": "TestGameMode_C",
"hidden": false,
"last_offline": 1794726298,
"last_online": 1794752088,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 2353,
"wipe_period": null,
"ModId_l": "0",
"P2PADDR": "90297504175173638",
"P2PPORT": "10010",
"LEGACY_i": "0",
"DayTime_s": "4146",
"OWNINGNAME": "90297504175173638",
"listentype": "d",
"ClusterId_s": "X_66F7DC47",
"environment": "w",
"Networking_i": "0",
"SESSIONFLAGS": "683",
"a2s_protocol": 17,
"MATCHTIMEOUT_f": "120.000000",
"NUMOPENPUBCONN": "67",
"SESSIONISPVE_i": "0",
"HASACTIVEMODS_i": "0",
"OFFICIALSERVER_i": "0",
"SEARCHKEYWORDS_s": "Custom",
"ServerPassword_b": "false",
"players_complete": true,
"CUSTOMSERVERNAME_s": "[new] drakoria.es x10/nowipe/ #gen2 - (v358.24)",
"ALLOWDOWNLOADCHARS_i": "1",
"ALLOWDOWNLOADITEMS_i": "1",
"SERVERUSESBATTLEYE_b": "true"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10695591");
$data = json_decode($json, true);
var_dump($data);