API для INXServ.eu PVP 2Man x20 - S08 21/08 - Fjordur #1
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1784988110,
"app": {
"id": 67,
"name": "ARK: Survival Evolved",
"steam_id": 346110,
"url": "ark-survival-evolved"
},
"color": 0,
"connect": "141.98.157.205:7789",
"country": "GB",
"domain": null,
"game": 346110,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 12616348,
"ip": "141.98.157.205",
"language": "en",
"last_update": 1789925259,
"map": "Fjordur",
"maxplayers": 70,
"name": "INXServ.eu PVP 2Man x20 - S08 21/08 - Fjordur #1",
"numplayers": 29,
"official": null,
"points": 53,
"port": 7789,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27021,
"request": "141.98.157.205:27021",
"secured": true,
"status": true,
"steam_id": "90293076915511310",
"version": "358.24",
"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": 1789749144,
"last_online": 1789925259,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 957,
"wipe_period": null,
"MOD0_s": "3797145742:461474594043A567FBD71F8CC17F34A0",
"MOD1_s": "3799028942:2C985E684B1DAB19B67A208D979E7E2C",
"MOD2_s": "3785203552:DCB3030D43B217814918DE81E8C140B2",
"MOD3_s": "3461528683:7E07AF124797AAF45158F9A86F949FE0",
"ModId_l": "0",
"P2PADDR": "90293076915511310",
"P2PPORT": "7789",
"LEGACY_i": "0",
"DayTime_s": "1",
"OWNINGNAME": "90293076915511310",
"listentype": "d",
"ClusterId_s": "X_E3764022",
"environment": "w",
"Networking_i": "0",
"SESSIONFLAGS": "683",
"a2s_protocol": 17,
"MATCHTIMEOUT_f": "120.000000",
"NUMOPENPUBCONN": "55",
"SESSIONISPVE_i": "0",
"HASACTIVEMODS_i": "1",
"OFFICIALSERVER_i": "0",
"SEARCHKEYWORDS_s": "Custom",
"ServerPassword_b": "false",
"players_complete": true,
"CUSTOMSERVERNAME_s": "inxserv.eu pvp 2man x20 - s08 21/08 - fjordur #1",
"ALLOWDOWNLOADCHARS_i": "1",
"ALLOWDOWNLOADITEMS_i": "1",
"SERVERUSESBATTLEYE_b": "true"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/12616348");
$data = json_decode($json, true);
var_dump($data);