API для -=AvJeux # DeathMatch Dust2/Long/2x2=-
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1752145716,
"app": {
"id": 10,
"name": "Counter-Strike: Condition Zero",
"steam_id": 80,
"url": "counter-strike-condition-zero"
},
"color": 0,
"connect": "185.206.151.185:27015",
"country": "GB",
"domain": null,
"game": 80,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 9732131,
"ip": "185.206.151.185",
"language": "en",
"last_update": 1794632066,
"map": "de_dust2_long",
"maxplayers": 32,
"name": "-=AvJeux # DeathMatch Dust2/Long/2x2=-",
"numplayers": 24,
"official": null,
"points": 113,
"port": 27015,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27015,
"request": "185.206.151.185:27015",
"secured": true,
"status": true,
"steam_id": null,
"version": "1.1.2.7/Stdio",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Солихалл",
"description": null,
"disabled_modules": [],
"gamemode": "Time Left: 14:08",
"hidden": false,
"last_offline": 1794491098,
"last_online": 1794632066,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 3,
"wipe_period": null,
"lm_db": "1",
"lm_port": "27016",
"bot_stop": "0",
"bot_walk": "0",
"lm_query": "1",
"@D.I.C.E.": "1.1",
"bot_debug": "0",
"bot_quota": "22",
"lm_status": "1",
"@CRXGoSpec": "1.0",
"bot_prefix": "",
"bot_zombie": "0",
"listentype": "d",
"sv_contact": "www.avjeux.org",
"bot_chatter": "off",
"environment": "l",
"Back Weapons": "1.87",
"SNAC_Version": "1.1",
"a2s_protocol": 48,
"bot_nav_edit": "0",
"bot_show_nav": "0",
"AvJeuxBalance": "1.6",
"bot_join_team": "any",
"bot_nav_zdraw": "4",
"bot_quicksave": "0",
"bot_traceview": "0",
"bot_deathmatch": "1",
"bot_difficulty": "0",
"bot_join_delay": "0",
"bot_profile_db": "BotProfile.db",
"bot_quota_mode": "fill",
"logmod_version": "0.7f (MM) (logmod.hlsw.net)",
"bot_auto_vacate": "1",
"bot_show_danger": "0",
"autolang_version": "1.5.02",
"bot_allow_rifles": "1",
"bot_allow_rogues": "1",
"bot_allow_shield": "1",
"players_complete": true,
"sv_allow_autoaim": "1",
"CRXNickProtection": "1.1",
"_tutor_look_angle": "10",
"bot_allow_pistols": "1",
"bot_allow_snipers": "1",
"AvJeux Map Chooser": "1.0",
"_tutor_debug_level": "0",
"bot_allow_grenades": "1",
"bot_allow_shotguns": "1",
"bot_defer_to_human": "0",
"CFG HeadShot Effect": "1.0/mut2nt",
"_tutor_examine_time": "0.5",
"_tutor_look_distance": "200",
"_tutor_view_distance": "1000",
"mp_ammo_respawn_time": "20",
"mp_item_respawn_time": "30",
"mp_show_scenarioicon": "0",
"resrdetector_version": "0.1.0",
"__weblivechat_version": "v1.4",
"bot_join_after_player": "1",
"reaimdetector_version": "0.2.2",
"_tutor_message_repeats": "5",
"bot_allow_machine_guns": "1",
"mp_weapon_respawn_time": "20",
"_tutor_hint_interval_time": "10.0",
"bot_allow_sub_machine_guns": "1",
"TimeleftGameDescription_version": "1.2",
"_tutor_bomb_viewable_check_interval": "0.5",
"_tutor_message_minimum_display_time": "1",
"_tutor_message_character_display_time_coefficient": "0.07"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/9732131");
$data = json_decode($json, true);
var_dump($data);