API для Kretyni ^ 1shot1kill.pl
JSON для программ, сайтов и прочего
text
json
{
"response": {
"coop": "0",
"sv_aim": "0",
"pausable": "0",
"sv_bounce": "1",
"sv_cheats": "0",
"deathmatch": "1",
"listentype": "d",
"mp_buytime": "0.3",
"mp_c4timer": "35",
"mp_logfile": "1",
"sv_alltalk": "0",
"sv_contact": "1shot1kill.pl",
"sv_gravity": "800",
"sv_maxrate": "100000",
"sv_minrate": "40000",
"sv_proxies": "1",
"sv_restart": "0",
"sv_version": "1.1.2.7/Stdio,48,2566",
"environment": "l",
"mp_autokick": "0",
"mp_chattime": "3",
"mp_playerid": "0",
"mp_timeleft": "0",
"mp_tkpunish": "0",
"mp_winlimit": "0",
"sv_friction": "4",
"sv_maxspeed": "320",
"sv_password": "1",
"sv_stepsize": "18",
"a2s_protocol": 48,
"edgefriction": "2",
"hostage_stop": "0",
"mp_footsteps": "1",
"mp_fragsleft": "0",
"mp_logdetail": "0",
"mp_maxrounds": "0",
"mp_roundtime": "2",
"mp_timelimit": "20",
"sv_logblocks": "0",
"sv_stopspeed": "75",
"sv_uploadmax": "0.5",
"hostage_debug": "0",
"mp_flashlight": "0",
"mp_freezetime": "4",
"mp_limitteams": "1",
"mp_startmoney": "800",
"sv_accelerate": "5",
"decalfrequency": "60",
"mp_consistency": "0",
"mp_fadetoblack": "0",
"mp_forcecamera": "0",
"mp_kickpercent": "0.66",
"mp_logmessages": "0",
"sv_allowupload": "1",
"sv_clienttrace": "1",
"sv_voiceenable": "1",
"max_queries_sec": "1",
"mp_friendlyfire": "0",
"mp_mapvoteratio": "0.66",
"mp_mirrordamage": "0",
"sv_restartround": "0",
"allow_spectators": "1",
"humans_join_team": "any",
"mp_allowmonsters": "0",
"mp_forcechasecam": "1",
"mp_windifference": "1",
"players_complete": true,
"sv_airaccelerate": "5",
"sv_waterfriction": "1",
"_tutor_look_angle": "10",
"mp_ghostfrequency": "0.1",
"mp_hostagepenalty": "0",
"_tutor_debug_level": "0",
"max_queries_window": "1",
"mp_autoteambalance": "1",
"sv_wateraccelerate": "10",
"_tutor_examine_time": "0.5",
"mp_autokick_timeout": "-1",
"_tutor_look_distance": "200",
"_tutor_view_distance": "1000",
"_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",
"steam_id": "90292719093881857",
"domain": null,
"id": 15536017,
"ip": "91.224.117.35",
"port": 27115,
"query": 27115,
"project_id": null,
"color": 0,
"city": "Гдыня",
"description": null,
"game": 10,
"boosts": 1,
"last_offline": 1789292471,
"last_online": 1789726964,
"icon": null,
"name": "Kretyni ^ 1shot1kill.pl",
"connect": "91.224.117.35:27115",
"request": "91.224.117.35:27115",
"map": "de_prodigy",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 1,
"maxplayers": 11,
"bots": 0,
"secured": true,
"private": true,
"country": "PL",
"status": true,
"votes": 0,
"points": 35,
"add_date": 1788820470,
"last_update": 1789726964,
"ban_reason": null,
"banned": false,
"hidden": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3021,
"language": "pl",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"mods": [],
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/15536017");
$data = json_decode($json, true);
var_dump($data);