API для Vlk135 - Crystal Isles
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1779207015,
"app": {
"id": 67,
"name": "ARK: Survival Evolved",
"steam_id": 346110,
"url": "ark-survival-evolved"
},
"color": 0,
"connect": "193.179.51.191:7777",
"country": "CZ",
"domain": null,
"game": 346110,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 11496286,
"ip": "193.179.51.191",
"language": "cs",
"last_update": 1794755096,
"map": "CrystalIsles",
"maxplayers": 15,
"name": "Vlk135 - Crystal Isles",
"numplayers": 0,
"official": null,
"points": 30,
"port": 7777,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27015,
"request": "193.179.51.191:27015",
"secured": true,
"status": true,
"steam_id": "90297491204121606",
"version": "358.24",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Прага",
"description": null,
"disabled_modules": [],
"gamemode": "TestGameMode_C",
"hidden": false,
"last_offline": 1794708286,
"last_online": 1794755096,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 5120,
"wipe_period": null,
"MOD0_s": "1976698613:0863A393404CDE4CD4247A885FB7C8AF",
"MOD1_s": "679529026:570B3B33439BA885414305BE30A115E6",
"MOD2_s": "2135314513:5B28E64F429E115622EA848D62642E3A",
"MOD3_s": "893904615:2E3FAD72403542D392FF3FA62AAA0D24",
"ModId_l": "0",
"P2PADDR": "90297491204121606",
"P2PPORT": "7777",
"LEGACY_i": "0",
"DayTime_s": "8617",
"OWNINGNAME": "90297491204121606",
"listentype": "d",
"ClusterId_s": "vlkcluster",
"environment": "w",
"Networking_i": "0",
"SESSIONFLAGS": "683",
"a2s_protocol": 17,
"MATCHTIMEOUT_f": "120.000000",
"NUMOPENPUBCONN": "15",
"SESSIONISPVE_i": "1",
"HASACTIVEMODS_i": "1",
"OFFICIALSERVER_i": "0",
"SEARCHKEYWORDS_s": "Custom",
"ServerPassword_b": "true",
"players_complete": true,
"CUSTOMSERVERNAME_s": "vlk135 - crystal isles",
"ALLOWDOWNLOADCHARS_i": "1",
"ALLOWDOWNLOADITEMS_i": "1",
"SERVERUSESBATTLEYE_b": "true"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11496286");
$data = json_decode($json, true);
var_dump($data);