API для CS.Siras.Ru SuperHero Mod
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1501541152,
"app": {
"id": 3,
"name": "Counter-Strike",
"steam_id": 10,
"url": "counter-strike"
},
"color": 0,
"connect": "62.140.250.154:27016",
"country": "RU",
"domain": null,
"game": 10,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 1832,
"ip": "62.140.250.154",
"language": "ru",
"last_update": 1794924003,
"map": "dm_dusty",
"maxplayers": 20,
"name": "CS.Siras.Ru SuperHero Mod",
"numplayers": 0,
"official": null,
"points": 30,
"port": 27016,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27016,
"request": "62.140.250.154:27016",
"secured": false,
"status": true,
"steam_id": null,
"version": "1.1.2.7/Stdio",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Москва",
"description": "",
"disabled_modules": [],
"gamemode": "CS - SuperHero Mod",
"hidden": false,
"last_offline": 1793883884,
"last_online": 1794924003,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 58520,
"wipe_period": null,
"coop": "0",
"sv_aim": "0",
"jtp10181": "gore",
"pausable": "0",
"WalkGuard": "1.3.2",
"sv_bounce": "1",
"sv_cheats": "0",
"deathmatch": "1",
"listentype": "d",
"mp_buytime": "0.25",
"mp_c4timer": "30",
"mp_logfile": "1",
"sv_alltalk": "0",
"sv_contact": "cs.siras.ru/forum/",
"sv_gravity": "800",
"sv_maxrate": "30000",
"sv_minrate": "2500",
"sv_proxies": "0",
"sv_restart": "0",
"sv_version": "1.1.2.7/Stdio,48,1306",
"VTC_Version": "2017RC3",
"afk_version": "1.0b",
"amx_nextmap": "de_train",
"environment": "l",
"mp_autokick": "0",
"mp_chattime": "0",
"mp_playerid": "0",
"mp_timeleft": "0",
"mp_tkpunish": "0",
"mp_winlimit": "0",
"reu_version": "0.1.75",
"sv_friction": "4",
"sv_maxspeed": "380",
"sv_password": "0",
"sv_stepsize": "18",
"umm_version": "3.0.3(z)",
"whb_version": "1.5.672",
"a2s_protocol": 48,
"aesp_version": "1.3",
"amx_language": "en",
"amx_timeleft": "09:09",
"atac_version": "3.0.1",
"edgefriction": "2",
"hostage_stop": "0",
"mp_footsteps": "1",
"mp_fragsleft": "0",
"mp_logdetail": "0",
"mp_maxrounds": "0",
"mp_roundtime": "1.75",
"mp_timelimit": "20",
"sv_logblocks": "0",
"sv_stopspeed": "75",
"sv_uploadmax": "0.5",
"hostage_debug": "0",
"mp_flashlight": "1",
"mp_freezetime": "2",
"mp_limitteams": "2",
"mp_startmoney": "4000",
"sv_accelerate": "5",
"decalfrequency": "60",
"mp_consistency": "1",
"mp_fadetoblack": "0",
"mp_forcecamera": "0",
"mp_kickpercent": "0.66",
"mp_logmessages": "1",
"sv_allowupload": "1",
"sv_clienttrace": "1",
"sv_voiceenable": "1",
"amx_ptb_version": "1.8b3",
"amxmodx_version": "1.8.3-Re",
"chicken_version": "1.0",
"max_queries_sec": "1",
"metamod_version": "1.21p37",
"mp_friendlyfire": "1",
"mp_mapvoteratio": "0.66",
"mp_mirrordamage": "0",
"sv_restartround": "0",
"ultimate_sounds": "1.7",
"allow_spectators": "5",
"humans_join_team": "any",
"mp_allowmonsters": "0",
"mp_forcechasecam": "0",
"mp_windifference": "1",
"players_complete": true,
"sv_airaccelerate": "10",
"sv_waterfriction": "1",
"_tutor_look_angle": "10",
"grab_plus_version": "1.2.3",
"mp_ghostfrequency": "0.1",
"mp_hostagepenalty": "0",
"_tutor_debug_level": "0",
"max_queries_window": "1",
"mp_autoteambalance": "0",
"sv_wateraccelerate": "10",
"_tutor_examine_time": "0.5",
"mp_autokick_timeout": "-1",
"reauthcheck_version": "0.1.5",
"SuperHeroMod_Version": "1.2.0.10",
"_tutor_look_distance": "200",
"_tutor_view_distance": "1000",
"amx_client_languages": "1",
"_tutor_message_repeats": "5",
"max_queries_sec_global": "1",
"_tutor_hint_interval_time": "10.0",
"_tutor_bomb_viewable_check_interval": "0.5",
"_tutor_message_minimum_display_time": "1",
"_tutor_message_character_display_time_coefficient": "0.07"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/1832");
$data = json_decode($json, true);
var_dump($data);