API для CORE-SS :: Coop-24
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1501541179,
"app": {
"id": 11,
"name": "Left 4 Dead 2",
"steam_id": 550,
"url": "left-4-dead-2"
},
"color": 0,
"connect": "46.174.48.86:27015",
"country": "RU",
"domain": null,
"game": 550,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 3356,
"ip": "46.174.48.86",
"language": "ru",
"last_update": 1790307611,
"map": "c8m4_interior",
"maxplayers": 24,
"name": "CORE-SS :: Coop-24",
"numplayers": 1,
"official": null,
"points": 34,
"port": 27015,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27015,
"request": "46.174.48.86:27015",
"secured": true,
"status": true,
"steam_id": "90293349666997266",
"version": "2.2.4.3",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Москва",
"description": "",
"disabled_modules": [],
"gamemode": "Left 4 Dead 2",
"hidden": false,
"last_offline": 1790075458,
"last_online": 1790307611,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 3087,
"wipe_period": null,
"god": "0",
"coop": "0",
"buddha": "0",
"sv_tags": "increased_maxplayers,coress,no-steam",
"nextlevel": "",
"sv_bounce": "0",
"sv_cheats": "0",
"tv_enable": "1",
"deathmatch": "1",
"listentype": "d",
"mp_c4timer": "45",
"sm_nextmap": "",
"sv_alltalk": "1",
"sv_contact": "admin@core-ss.org",
"sv_gravity": "800",
"environment": "l",
"mp_teamlist": "hgrunt;scientist",
"mp_teamplay": "0",
"mp_winlimit": "0",
"sv_friction": "4",
"sv_maxspeed": "1000.000000",
"sv_password": "0",
"sv_stepsize": "18",
"tv_password": "0",
"a2s_protocol": 17,
"mp_allowNPCs": "1",
"mp_footsteps": "1",
"mp_fraglimit": "0",
"mp_maxrounds": "0",
"mp_roundtime": "5",
"mp_timelimit": "0",
"sv_footsteps": "1",
"sv_rollangle": "0",
"sv_rollspeed": "200",
"sv_specspeed": "2",
"sv_stopspeed": "75",
"mp_falldamage": "0",
"mp_flashlight": "1",
"mp_freezetime": "6",
"mp_limitteams": "2",
"mp_tournament": "0",
"mp_weaponstay": "0",
"sv_accelerate": "5",
"sv_maxplayers": "25",
"sv_specnoclip": "1",
"decalfrequency": "10",
"mp_fadetoblack": "0",
"survivor_limit": "25",
"sv_noclipspeed": "5",
"sv_voiceenable": "1",
"tauntfrequency": "1",
"metamod_version": "1.12.0-dev+1226V",
"mp_forcerespawn": "1",
"mp_friendlyfire": "1",
"mp_autocrosshair": "1",
"players_complete": true,
"sv_airaccelerate": "10",
"sv_waterfriction": "1",
"tv_relaypassword": "0",
"defib_fix_version": "2.1",
"r_JeepViewZHeight": "10.0",
"sourcemod_version": "1.13.0.7472",
"sv_noclipfriction": "4",
"sv_specaccelerate": "5",
"l4d2_next_campaign": "Crash Course",
"l4d_closet_version": "1.7",
"mp_autoteambalance": "1",
"sv_wateraccelerate": "10",
"mp_stalemate_enable": "0",
"r_VehicleViewDampen": "1",
"sm_selfmute_version": "3.0",
"sv_force_unreserved": "0",
"sv_noclipaccelerate": "5",
"tf_arena_max_streak": "5",
"tf_arena_round_time": "0",
"director_afk_timeout": "45",
"r_AirboatViewZHeight": "0.0",
"r_JeepViewDampenDamp": "1.0",
"r_JeepViewDampenFreq": "7.0",
"sm_autorecord_version": "1.3.0",
"l4d2_supercoop_version": "1.1.1.0",
"tf_arena_preround_time": "10",
"l4d_info_editor_version": "1.30",
"r_AirboatViewDampenDamp": "1.0",
"r_AirboatViewDampenFreq": "7.0",
"mp_disable_respawn_times": "0",
"mp_teams_unbalance_limit": "1",
"mp_stalemate_at_timelimit": "0"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/3356");
$data = json_decode($json, true);
var_dump($data);