API для L4D - Co-op - Normal
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794336061,
"app": {
"id": 18,
"name": "Left 4 Dead",
"steam_id": 500,
"url": "left-4-dead"
},
"color": 0,
"connect": "109.150.53.157:27016",
"country": "GB",
"domain": null,
"game": 500,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19918181,
"ip": "109.150.53.157",
"language": "en",
"last_update": 1794671738,
"map": "l4d_hospital01_apartment",
"maxplayers": 4,
"name": "L4D - Co-op - Normal",
"numplayers": 0,
"official": null,
"points": 0,
"port": 27016,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27016,
"request": "109.150.53.157:27016",
"secured": true,
"status": false,
"steam_id": null,
"version": "1.0.4.5",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Ислингтон",
"description": null,
"disabled_modules": [],
"gamemode": "L4D - Co-op - Easy",
"hidden": false,
"last_offline": 1794671738,
"last_online": 1794421008,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 2135,
"wipe_period": null,
"god": "0",
"coop": "0",
"buddha": "0",
"sv_tags": "",
"nextlevel": "",
"sv_bounce": "0",
"sv_cheats": "0",
"deathmatch": "1",
"listentype": "d",
"mp_c4timer": "45",
"sv_alltalk": "1",
"sv_contact": "",
"sv_gravity": "800",
"environment": "w",
"mp_teamlist": "hgrunt;scientist",
"mp_teamplay": "0",
"sv_friction": "4",
"sv_maxspeed": "1000.000000",
"sv_password": "0",
"sv_stepsize": "18",
"tv_password": "0",
"a2s_protocol": 7,
"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": "3",
"sv_stopspeed": "75",
"mp_falldamage": "0",
"mp_flashlight": "1",
"mp_freezetime": "6",
"mp_limitteams": "2",
"mp_weaponstay": "0",
"sv_accelerate": "5",
"sv_specnoclip": "1",
"sv_steamgroup": "",
"decalfrequency": "10",
"survivor_limit": "4",
"sv_noclipspeed": "5",
"sv_voiceenable": "1",
"tauntfrequency": "1",
"mp_forcerespawn": "1",
"mp_friendlyfire": "1",
"mp_autocrosshair": "1",
"players_complete": true,
"sv_airaccelerate": "10",
"sv_waterfriction": "1",
"tv_relaypassword": "0",
"r_JeepViewZHeight": "10.0",
"sv_noclipfriction": "4",
"sv_specaccelerate": "5",
"mp_autoteambalance": "1",
"sv_wateraccelerate": "10",
"mp_stalemate_enable": "0",
"r_VehicleViewDampen": "1",
"sv_noclipaccelerate": "5",
"director_afk_timeout": "45",
"r_AirboatViewZHeight": "0.0",
"r_JeepViewDampenDamp": "1.0",
"r_JeepViewDampenFreq": "7.0",
"r_AirboatViewDampenDamp": "1.0",
"r_AirboatViewDampenFreq": "7.0",
"mp_teams_unbalance_limit": "1"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19918181");
$data = json_decode($json, true);
var_dump($data);