API для ker4esvis x50, Super Structures, PVE, 1200 lv
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1753690581,
"app": {
"id": 67,
"name": "ARK: Survival Evolved",
"steam_id": 346110,
"url": "ark-survival-evolved"
},
"color": 0,
"connect": "91.243.98.31:7845",
"country": "RU",
"domain": null,
"game": 346110,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 9872469,
"ip": "91.243.98.31",
"language": "ru",
"last_update": 1794756255,
"map": "CrystalIsles",
"maxplayers": 70,
"name": "ker4esvis x50, Super Structures, PVE, 1200 lv",
"numplayers": 5,
"official": null,
"points": 34,
"port": 7845,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27049,
"request": "91.243.98.31:27049",
"secured": true,
"status": true,
"steam_id": "90294494992666641",
"version": "361.7",
"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": 1794638695,
"last_online": 1794756255,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 1856,
"wipe_period": null,
"MOD0_s": "1999447172:86E42BFD46FE40638D694AA8CBE644A4",
"MOD1_s": "679529026:570B3B33439BA885414305BE30A115E6",
"MOD2_s": "2266441915:C34E36FA467EA00D3B8BC5A59D2F5253",
"MOD3_s": "1134943864:277E6253469346247640EDA33D688348",
"ModId_l": "0",
"P2PADDR": "90294494992666641",
"P2PPORT": "7845",
"LEGACY_i": "0",
"DayTime_s": "1045",
"OWNINGNAME": "90294494992666641",
"listentype": "d",
"ClusterId_s": "7HBbyd989S",
"environment": "w",
"Networking_i": "0",
"SESSIONFLAGS": "683",
"a2s_protocol": 17,
"MATCHTIMEOUT_f": "120.000000",
"NUMOPENPUBCONN": "70",
"SESSIONISPVE_i": "1",
"HASACTIVEMODS_i": "1",
"OFFICIALSERVER_i": "0",
"SEARCHKEYWORDS_s": "Custom",
"ServerPassword_b": "false",
"players_complete": true,
"CUSTOMSERVERNAME_s": "ker4esvis x50, super structures, pve, 1200 lv",
"ALLOWDOWNLOADCHARS_i": "1",
"ALLOWDOWNLOADITEMS_i": "1",
"SERVERUSESBATTLEYE_b": "true"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/9872469");
$data = json_decode($json, true);
var_dump($data);