API для Sirens of the Seas
JSON для программ, сайтов и прочего
text
json
{
"response": {
"isPve": false,
"modIds": "988598,935408,941145,950914,946694,929420,928501,929868,929543,931047,929110,931874,951148",
"dayTime": 586,
"battleye": false,
"gameMode": "TestGameMode_C",
"clusterId": null,
"sessionId": "6d8b1883e58d412cb58cafd208b80b2c",
"modFileIds": "6608254,7965328,6570862,6897266,6562241,8160173,7909293,7191618,6567103,8441793,7738786,8455105,6691460",
"sessionName": "Sirens of the Seas - (v92.16)",
"platformType": "PC+PS5+XSX+WINGDK",
"steam_id": null,
"domain": null,
"id": 13947498,
"ip": "31.214.163.19",
"port": 5330,
"query": 5330,
"project_id": null,
"color": 0,
"city": "Los Angeles",
"description": null,
"game": 2399830,
"owner": null,
"boosts": 1,
"last_offline": 1787290212,
"last_online": 1787551152,
"icon": null,
"name": "Sirens of the Seas",
"connect": "31.214.163.19:5330",
"request": "31.214.163.19:5330",
"map": "Genesis_WP",
"gamemode": null,
"version": "92.16",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": null,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1787267367,
"last_update": 1787551152,
"ban_reason": null,
"banned": false,
"wipe": null,
"official": false,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 51596,
"language": "en",
"parked": false,
"app": {
"id": 1626086,
"steam_id": 2399830,
"name": "ARK: Survival Ascended",
"url": "ark-survival-ascended"
},
"server_owner": null,
"mods": [],
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13947498");
$data = json_decode($json, true);
var_dump($data);