API для Ark Server gamever.io
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1779207018,
"app": {
"id": 67,
"name": "ARK: Survival Evolved",
"steam_id": 346110,
"url": "ark-survival-evolved"
},
"color": 0,
"connect": "62.112.222.106:27509",
"country": "PL",
"domain": null,
"game": 346110,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 11496419,
"ip": "62.112.222.106",
"language": "pl",
"last_update": 1794760534,
"map": "Extinction",
"maxplayers": 15,
"name": "Ark Server gamever.io",
"numplayers": 0,
"official": null,
"points": 30,
"port": 27509,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27512,
"request": "62.112.222.106:27512",
"secured": true,
"status": true,
"steam_id": "90297526140243994",
"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": 1794517336,
"last_online": 1794760534,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 5093,
"wipe_period": null,
"MOD0_s": "1999447172:86E42BFD46FE40638D694AA8CBE644A4",
"MOD1_s": "1145470306:09CFA02C4668171D5D64779107969147",
"MOD2_s": "3026435575:3EF42D194B58075C41A42AAD783458BD",
"MOD3_s": "2252273863:4CD0486F4D9F7408E5166097164DD585",
"ModId_l": "0",
"P2PADDR": "90297526140243994",
"P2PPORT": "27509",
"LEGACY_i": "0",
"DayTime_s": "361",
"OWNINGNAME": "90297526140243994",
"listentype": "d",
"ClusterId_s": "Ark Server gamever.io",
"environment": "l",
"Networking_i": "0",
"SESSIONFLAGS": "1707",
"a2s_protocol": 17,
"MATCHTIMEOUT_f": "120.000000",
"NUMOPENPUBCONN": "15",
"SESSIONISPVE_i": "0",
"HASACTIVEMODS_i": "1",
"OFFICIALSERVER_i": "0",
"SEARCHKEYWORDS_s": "Custom",
"ServerPassword_b": "true",
"players_complete": true,
"CUSTOMSERVERNAME_s": "ark server gamever.io",
"ALLOWDOWNLOADCHARS_i": "1",
"ALLOWDOWNLOADITEMS_i": "1",
"SERVERUSESBATTLEYE_b": "false"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11496419");
$data = json_decode($json, true);
var_dump($data);