API для GunGame CS:S v34 [ABCVG.info]
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1501541232,
"app": {
"id": 5,
"name": "Counter-Strike: Source",
"steam_id": 240,
"url": "counter-strike-source"
},
"color": 0,
"connect": "178.32.222.119:27025",
"country": "FR",
"domain": null,
"game": 240,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 6341,
"ip": "178.32.222.119",
"language": "fr",
"last_update": 1790527494,
"map": "gg_japanz",
"maxplayers": 20,
"name": "GunGame CS:S v34 [ABCVG.info]",
"numplayers": 0,
"official": null,
"points": 30,
"port": 27025,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27025,
"request": "178.32.222.119:27025",
"secured": false,
"status": true,
"steam_id": null,
"version": "1.0.0.34",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 6,
"city": "Рубе",
"description": "",
"disabled_modules": [],
"gamemode": "Counter-Strike: Source",
"hidden": false,
"last_offline": 1790526246,
"last_online": 1790527494,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 653,
"wipe_period": null,
"coop": "0",
"nextlevel": "",
"sv_bounce": "0",
"sv_cheats": "0",
"deathmatch": "1",
"listentype": "d",
"mp_c4timer": "40",
"sm_nextmap": "gg_churches_x_final_fixed",
"sv_alltalk": "1",
"sv_contact": "me@vova1234.com",
"sv_gravity": "800",
"environment": "l",
"mp_teamlist": "hgrunt,scientist",
"mp_teamplay": "0",
"sv_friction": "4",
"sv_maxspeed": "320",
"sv_password": "0",
"sv_pausable": "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": "300",
"sv_footsteps": "1",
"sv_rollangle": "0",
"sv_rollspeed": "200",
"sv_specspeed": "3",
"sv_stopspeed": "75",
"cssdm_enabled": "1",
"cssdm_version": "2.1.0.446",
"mp_falldamage": "1",
"mp_flashlight": "1",
"mp_freezetime": "1",
"mp_limitteams": "1",
"mp_weaponstay": "0",
"sv_accelerate": "5",
"sv_specnoclip": "1",
"decalfrequency": "10",
"sv_noclipspeed": "5",
"sv_voiceenable": "1",
"gungame_enabled": "1",
"metamod_version": "1.10.0V",
"mp_forcerespawn": "1",
"mp_friendlyfire": "0",
"chat_log_version": "2.0",
"mp_autocrosshair": "0",
"players_complete": true,
"sm_stats_enabled": "1",
"sm_stats_version": "1.0.11",
"sv_airaccelerate": "10",
"sv_waterfriction": "1",
"tv_relaypassword": "0",
"cssdm_ffa_enabled": "0",
"mp_hostagepenalty": "3",
"r_JeepViewZHeight": "10.0",
"sourcemod_version": "1.5.2",
"sv_specaccelerate": "5",
"mp_autoteambalance": "1",
"sv_wateraccelerate": "10",
"r_VehicleViewDampen": "1",
"sv_noclipaccelerate": "5",
"r_AirboatViewZHeight": "0.0",
"r_JeepViewDampenDamp": "1.0",
"r_JeepViewDampenFreq": "7.0",
"sm_gungamesm_version": "1.1.9.1",
"sm_stats_displaymode": "0",
"sm_stats_startpoints": "1000",
"sm_quakesounds_version": "2.7",
"r_AirboatViewDampenDamp": "1.0",
"r_AirboatViewDampenFreq": "7.0",
"sm_advertisements_version": "0.5.5"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/6341");
$data = json_decode($json, true);
var_dump($data);