API для SEKIKA-ARK@ShinohebiSekika-YT
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1785925345,
"app": {
"id": 67,
"name": "ARK: Survival Evolved",
"steam_id": 346110,
"url": "ark-survival-evolved"
},
"color": 0,
"connect": "183.76.141.13:7777",
"country": "JP",
"domain": null,
"game": 346110,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 13400847,
"ip": "183.76.141.13",
"language": "ja",
"last_update": 1794755105,
"map": "Fjordur",
"maxplayers": 20,
"name": "SEKIKA-ARK@ShinohebiSekika-YT",
"numplayers": 0,
"official": null,
"points": 0,
"port": 7777,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27015,
"request": "183.76.141.13:27015",
"secured": false,
"status": false,
"steam_id": "90297398171820041",
"version": "361.7",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Chiyoda",
"description": null,
"disabled_modules": [],
"gamemode": "TestGameMode_C",
"hidden": false,
"last_offline": 1794755105,
"last_online": 1794651895,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 7051,
"wipe_period": null,
"MOD0_s": "2182894352:300B8F6C42F1BF30825A528501FF2EDB",
"MOD1_s": "2121213202:E2B8C9E94A6D26D12C8D9DA0F0429A68",
"MOD2_s": "854186603:9E79758B4DB7BE5950B0FD813F4A3369",
"ModId_l": "0",
"P2PADDR": "90297398171820041",
"P2PPORT": "7777",
"LEGACY_i": "0",
"DayTime_s": "982",
"OWNINGNAME": "90297398171820041",
"listentype": "d",
"environment": "w",
"Networking_i": "0",
"SESSIONFLAGS": "171",
"a2s_protocol": 17,
"MATCHTIMEOUT_f": "120.000000",
"NUMOPENPUBCONN": "20",
"SESSIONISPVE_i": "1",
"HASACTIVEMODS_i": "1",
"OFFICIALSERVER_i": "0",
"SEARCHKEYWORDS_s": "Custom",
"ServerPassword_b": "true",
"players_complete": true,
"CUSTOMSERVERNAME_s": "sekika-ark@shinohebisekika-yt",
"ALLOWDOWNLOADCHARS_i": "1",
"ALLOWDOWNLOADITEMS_i": "1",
"SERVERUSESBATTLEYE_b": "false"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13400847");
$data = json_decode($json, true);
var_dump($data);