API для Kings of Misery Clan Server | Cloud Mist Forest
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1793216931,
"app": {
"id": 1625562,
"name": "Soulmask",
"steam_id": 2646460,
"url": "soulmask"
},
"color": 0,
"connect": "65.30.131.28:8777",
"country": "US",
"domain": null,
"game": 2646460,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19286292,
"ip": "65.30.131.28",
"language": "en",
"last_update": 1794626116,
"map": "Level01_Main",
"maxplayers": 10,
"name": "Kings of Misery Clan Server | Cloud Mist Forest",
"numplayers": 3,
"official": null,
"points": 52,
"port": 8777,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27015,
"request": "65.30.131.28:27015",
"secured": true,
"status": true,
"steam_id": "90297387898494982",
"version": "1.0.0.0",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Грин-Бей",
"description": null,
"disabled_modules": [],
"gamemode": "00",
"hidden": false,
"last_offline": 1794477863,
"last_online": 1794626116,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 17,
"wipe_period": null,
"AD_s": "65.30.131.28:8777:27015",
"GG_s": "20260810",
"Go_s": "-1",
"ID_s": "1",
"NO_s": "1.1.9",
"OL_s": "7",
"SU_s": "4TL0MJQBWFIVZNS9UMK248CNV",
"CGM_i": "0",
"MOD_s": "3400177243",
"PSW_s": "1",
"SEC_s": "1409494",
"pvp_i": "0",
"P2PADDR": "90297387898494982",
"P2PPORT": "8777",
"Season_i": "0",
"CONMETHOD": "Direct",
"Cluster_s": "none",
"WITHPSW_i": "1",
"DISTRICT_i": "0",
"OFFICIAL_i": "0",
"OWNINGNAME": "Kings of Misery Clan Server | Cloud Mist Forest",
"listentype": "d",
"GREENGAME_s": "0",
"environment": "w",
"SESSIONFLAGS": "683",
"a2s_protocol": 17,
"MATCHTIMEOUT_f": "120.000000",
"players_complete": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19286292");
$data = json_decode($json, true);
var_dump($data);