API для Dutch server omega
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1779353702,
"app": {
"id": 67,
"name": "ARK: Survival Evolved",
"steam_id": 346110,
"url": "ark-survival-evolved"
},
"color": 0,
"connect": "37.10.103.105:7877",
"country": "GB",
"domain": null,
"game": 346110,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 11508424,
"ip": "37.10.103.105",
"language": "en",
"last_update": 1794760535,
"map": "LostIsland",
"maxplayers": 10,
"name": "Dutch server omega",
"numplayers": 2,
"official": null,
"points": 39,
"port": 7877,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 7878,
"request": "37.10.103.105:7878",
"secured": true,
"status": true,
"steam_id": "90297495249671181",
"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": 1794714884,
"last_online": 1794760535,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 1075,
"wipe_period": null,
"MOD0_s": "1404697612:87CB9E1D490C5FA6D4F255B2952F8302",
"MOD1_s": "1428596566:3B9811E442673A835CFFB4ABA96D186D",
"MOD2_s": "1609138312:2CF1120B4B0D1D98208089978735AD79",
"MOD3_s": "2447186973:F067BA294DF470261BD4B29F67153794",
"ModId_l": "0",
"P2PADDR": "90297495249671181",
"P2PPORT": "7877",
"LEGACY_i": "0",
"DayTime_s": "27728",
"OWNINGNAME": "90297495249671181",
"listentype": "d",
"ClusterId_s": "ni368e7bfcc0cce0",
"environment": "w",
"Networking_i": "0",
"SESSIONFLAGS": "683",
"a2s_protocol": 17,
"MATCHTIMEOUT_f": "120.000000",
"NUMOPENPUBCONN": "10",
"SESSIONISPVE_i": "1",
"HASACTIVEMODS_i": "1",
"OFFICIALSERVER_i": "0",
"SEARCHKEYWORDS_s": "Custom",
"ServerPassword_b": "false",
"players_complete": true,
"CUSTOMSERVERNAME_s": "dutch server omega",
"ALLOWDOWNLOADCHARS_i": "1",
"ALLOWDOWNLOADITEMS_i": "1",
"SERVERUSESBATTLEYE_b": "true"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11508424");
$data = json_decode($json, true);
var_dump($data);