API для [NL] ARK-ish Vengeance PvE Community Server x1000
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1792603065,
"app": {
"id": 67,
"name": "ARK: Survival Evolved",
"steam_id": 346110,
"url": "ark-survival-evolved"
},
"color": 0,
"connect": "176.57.171.36:28400",
"country": "DE",
"domain": null,
"game": 346110,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 18788210,
"ip": "176.57.171.36",
"language": "de",
"last_update": 1792900740,
"map": "Valguero_P",
"maxplayers": 10,
"name": "[NL] ARK-ish Vengeance PvE Community Server x1000",
"numplayers": 0,
"official": null,
"points": 30,
"port": 28400,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 28415,
"request": "176.57.171.36:28415",
"secured": true,
"status": true,
"steam_id": "90295726020058119",
"version": "361.7",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Франкфурт-на-Майне",
"description": null,
"disabled_modules": [],
"gamemode": "TestGameMode_Tranqs++_C",
"hidden": false,
"last_offline": 1792879357,
"last_online": 1792900740,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 7603,
"wipe_period": null,
"MOD0_s": "1204667931:D5ED161E4C493F8B026A2A98CA4C1926",
"MOD1_s": "1931415003:E66E59E248B51E851464CFA7E0584218",
"MOD2_s": "1404697612:87CB9E1D490C5FA6D4F255B2952F8302",
"MOD3_s": "821530042:22F3A1684CBAE1A86BAC909A98ACFE0A",
"ModId_l": "0",
"P2PADDR": "90295726020058119",
"P2PPORT": "28400",
"LEGACY_i": "0",
"DayTime_s": "2",
"OWNINGNAME": "90295726020058119",
"listentype": "d",
"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": "true",
"players_complete": true,
"CUSTOMSERVERNAME_s": "[nl] ark-ish vengeance pve community server x1000",
"ALLOWDOWNLOADCHARS_i": "1",
"ALLOWDOWNLOADITEMS_i": "1",
"SERVERUSESBATTLEYE_b": "true"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/18788210");
$data = json_decode($json, true);
var_dump($data);