API для [KSFClan.com] #1 24/7 SurfTimer! [Europe]
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1784664142,
"app": {
"id": 5,
"name": "Counter-Strike: Source",
"steam_id": 240,
"url": "counter-strike-source"
},
"color": 0,
"connect": "137.74.205.6:27015",
"country": "FR",
"domain": null,
"game": 240,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 12421413,
"ip": "137.74.205.6",
"language": "fr",
"last_update": 1790262742,
"map": "surf_destruction",
"maxplayers": 60,
"name": "[KSFClan.com] #1 24/7 SurfTimer! [Europe]",
"numplayers": 10,
"official": null,
"points": 46,
"port": 27015,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27015,
"request": "137.74.205.6:27015",
"secured": true,
"status": true,
"steam_id": "90293339134656515",
"version": "11003710",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 3,
"city": "Рубе",
"description": null,
"disabled_modules": [],
"gamemode": "Counter-Strike: Source",
"hidden": false,
"last_offline": 1790247040,
"last_online": 1790262742,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 321,
"wipe_period": null,
"coop": "0",
"sv_tags": "alltalk,best,bhop,bots,bunnyhopping,custom,game,grenade,increased_maxplayers,specinfo,startmoney,surf,surf_,surftimer",
"bot_quota": "3",
"nextlevel": "",
"sv_bounce": "0",
"sv_cheats": "0",
"tv_enable": "1",
"deathmatch": "1",
"listentype": "d",
"mc_version": "1.1.1",
"mp_c4timer": "30",
"sm_nextmap": "surf_brodderlands",
"sm_noblock": "1",
"sv_alltalk": "1",
"sv_contact": "",
"sv_gravity": "800",
"sv_nostats": "0",
"environment": "l",
"mp_teamlist": "hgrunt;scientist",
"mp_teamplay": "0",
"mp_winlimit": "0",
"rngfix_edge": "1",
"sv_friction": "4",
"sv_maxspeed": "320",
"sv_password": "0",
"sv_pausable": "0",
"sv_stepsize": "18",
"tv_password": "0",
"a2s_protocol": 17,
"mp_allowNPCs": "1",
"mp_footsteps": "1",
"mp_fraglimit": "0",
"mp_maxrounds": "0",
"mp_roundtime": "4",
"mp_timelimit": "50",
"smac_version": "0.8.0.9",
"sourcetvname": "Kamikaze TV (Auto-Recording)",
"sourcetvport": 30000,
"sv_footsteps": "1",
"sv_rollangle": "0",
"sv_rollspeed": "200",
"sv_specspeed": "3",
"sv_stopspeed": "75",
"mp_falldamage": "0",
"mp_flashlight": "1",
"mp_freezetime": "0",
"mp_limitteams": "0",
"mp_startmoney": "1500",
"mp_tournament": "0",
"mp_weaponstay": "0",
"rngfix_stairs": "1",
"rngfix_uphill": "-1",
"sv_accelerate": "5",
"sv_specnoclip": "1",
"sv_steamgroup": "",
"decalfrequency": "40",
"mp_fadetoblack": "0",
"rngfix_telehop": "1",
"sv_enableboost": "0",
"sv_noclipspeed": "10",
"sv_voiceenable": "1",
"metamod_version": "1.11.0-dev+1156V",
"mp_forcerespawn": "1",
"mp_friendlyfire": "0",
"rngfix_downhill": "1",
"mp_autocrosshair": "1",
"mp_forceautoteam": "0",
"players_complete": true,
"sm_cvote_version": "0.5.6",
"stripper_version": "1.2.2",
"sv_airaccelerate": "150",
"sv_waterfriction": "1",
"tv_relaypassword": "0",
"mp_hostagepenalty": "4",
"r_JeepViewZHeight": "10.0",
"sm_trails_version": "3.0.2",
"sourcemod_version": "1.12.0.7190",
"sv_allowminmodels": "1",
"sv_specaccelerate": "5",
"mp_autoteambalance": "0",
"mp_holiday_nogifts": "0",
"mp_respawnwavetime": "10.0",
"rngfix_triggerjump": "1",
"sv_wateraccelerate": "10",
"tf_arena_use_queue": "1",
"mp_stalemate_enable": "0",
"r_VehicleViewDampen": "1",
"sm_dissolve_version": "1.0.0.2",
"sv_autobunnyhopping": "0",
"sv_noclipaccelerate": "5",
"tf_arena_max_streak": "3",
"tf_arena_round_time": "0",
"r_AirboatViewZHeight": "0.0",
"r_JeepViewDampenDamp": "1.0",
"r_JeepViewDampenFreq": "7.0",
"sm_supercmds_version": "0.60",
"sv_vote_quorum_ratio": "0.6",
"mp_scrambleteams_auto": "1",
"sm_eventqueuefix_bots": "0",
"sv_enablebunnyhopping": "1",
"mp_stalemate_meleeonly": "0",
"sm_eventqueuefix_debug": "0",
"sv_competitive_minspec": "0",
"tf_arena_preround_time": "10",
"r_AirboatViewDampenDamp": "1.0",
"r_AirboatViewDampenFreq": "7.0",
"sm_eventqueuefix_max_ms": "20.0",
"sm_playersvotes_version": "1.5.0",
"mp_disable_respawn_times": "0",
"sv_maxusrcmdprocessticks": "24",
"mp_match_end_at_timelimit": "0",
"rngfix_useoldslopefixlogic": "0",
"sm_eventqueuefix_max_inputs": "512",
"mp_scrambleteams_auto_windifference": "2"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/12421413");
$data = json_decode($json, true);
var_dump($data);