API для [JP]たこやきサーバー Fjordur
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1785883957,
"app": {
"id": 67,
"name": "ARK: Survival Evolved",
"steam_id": 346110,
"url": "ark-survival-evolved"
},
"color": 0,
"connect": "114.142.112.212:30033",
"country": "JP",
"domain": null,
"game": 346110,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 13373045,
"ip": "114.142.112.212",
"language": "ja",
"last_update": 1794759312,
"map": "Fjordur",
"maxplayers": 50,
"name": "[JP]たこやきサーバー Fjordur",
"numplayers": 2,
"official": null,
"points": 33,
"port": 30033,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27028,
"request": "114.142.112.212:27028",
"secured": true,
"status": true,
"steam_id": "90297472763474956",
"version": "358.24",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Kumamoto",
"description": null,
"disabled_modules": [],
"gamemode": "TestGameMode_C",
"hidden": false,
"last_offline": 1794683119,
"last_online": 1794759312,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 2343,
"wipe_period": null,
"MOD0_s": "1380777369:96ABFC8745E73782535CDB93A823CEED",
"MOD1_s": "2357644511:199005454299760F39D910A06FC45382",
"MOD2_s": "1445181373:5ECB3D394E8FDCFE60B46B85697E75A0",
"MOD3_s": "921233583:187F16B941B9263B66643E89EFC7A681",
"ModId_l": "0",
"P2PADDR": "90297472763474956",
"P2PPORT": "30033",
"LEGACY_i": "0",
"DayTime_s": "16363",
"OWNINGNAME": "90297472763474956",
"listentype": "d",
"ClusterId_s": "07100122",
"environment": "w",
"Networking_i": "0",
"SESSIONFLAGS": "683",
"a2s_protocol": 17,
"MATCHTIMEOUT_f": "120.000000",
"NUMOPENPUBCONN": "48",
"SESSIONISPVE_i": "1",
"HASACTIVEMODS_i": "1",
"OFFICIALSERVER_i": "0",
"SEARCHKEYWORDS_s": "Custom",
"ServerPassword_b": "true",
"players_complete": true,
"CUSTOMSERVERNAME_s": "[jp]たこやきサーバー fjordur",
"ALLOWDOWNLOADCHARS_i": "1",
"ALLOWDOWNLOADITEMS_i": "1",
"SERVERUSESBATTLEYE_b": "false"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13373045");
$data = json_decode($json, true);
var_dump($data);