API для #2 Global Argentina
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1787211193,
"app": {
"id": 9,
"name": "Half-Life",
"steam_id": 70,
"url": "half-life"
},
"color": 0,
"connect": "149.50.143.202:29430",
"country": "AR",
"domain": null,
"game": 70,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 13859611,
"ip": "149.50.143.202",
"language": "es",
"last_update": 1790392433,
"map": "boot_camp",
"maxplayers": 32,
"name": "#2 Global Argentina",
"numplayers": 0,
"official": null,
"points": 30,
"port": 29430,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 29430,
"request": "149.50.143.202:29430",
"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": "El Talar",
"description": null,
"disabled_modules": [],
"gamemode": "AG Arena",
"hidden": false,
"last_offline": 1790373253,
"last_online": 1790392433,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 398,
"wipe_period": null,
"coop": "0",
"sv_aim": "0",
"aghl.ru": "0.2.127+0651683",
"pausable": "0",
"sv_bounce": "1",
"sv_cheats": "0",
"deathmatch": "1",
"listentype": "d",
"mp_dmg_357": "40",
"mp_dmg_mp5": "12",
"mp_dmg_rpg": "120",
"mp_logfile": "1",
"mp_rpg_fix": "0",
"sv_contact": "More info: https://git.io/agmodx",
"sv_gravity": "800",
"sv_maxrate": "100000",
"sv_minrate": "25000",
"sv_proxies": "1",
"sv_version": "1.1.2.2/Stdio,48,4419",
"ag_spectalk": "0",
"amx_nextmap": "lambda_bunker",
"environment": "l",
"mp_bunnyhop": "1",
"mp_chattime": "10.000000",
"mp_dmg_egon": "20",
"mp_dmg_m203": "100",
"mp_teamlist": "",
"mp_teamplay": "0",
"mp_timeleft": "0",
"reu_version": "0.2.0.25",
"sv_friction": "4",
"sv_maxspeed": "300",
"sv_password": "0",
"sv_stepsize": "18",
"a2s_protocol": 48,
"amx_language": "en",
"amx_timeleft": "00:00",
"edgefriction": "2",
"mp_dmg_glock": "12",
"mp_footsteps": "1",
"mp_fraglimit": "30",
"mp_fragsleft": "30",
"mp_selfgauss": "1",
"mp_timelimit": "\u000230",
"mp_wallgauss": "1.0",
"sv_logblocks": "0",
"sv_stopspeed": "100",
"sv_uploadmax": "0.5",
"mp_dmg_hornet": "10",
"mp_falldamage": "0",
"mp_flashlight": "0",
"mp_weaponstay": "0",
"mp_welcomecam": "1",
"sv_accelerate": "10",
"agmodx_version": "2.6.2",
"decalfrequency": "30",
"mp_blastradius": "1.0",
"mp_consistency": "1",
"mp_dmg_crowbar": "25",
"mp_dmg_satchel": "120",
"mp_dmg_shotgun": "20",
"mp_respawn_fix": "1",
"sv_ag_gamemode": "arena",
"sv_ag_gametype": "arena",
"sv_ag_vote_map": "1",
"sv_allowupload": "0",
"sv_clienttrace": "5",
"sv_voiceenable": "1",
"amxmodx_version": "1.9.0.5294",
"max_queries_sec": "1",
"metamod_version": "1.21p39",
"mp_dmg_hgrenade": "100",
"mp_dmg_tripmine": "150",
"mp_forcerespawn": "0",
"mp_friendlyfire": "1",
"revoice_version": "0.1.0.36",
"sv_ag_hud_color": "255 255 0",
"sv_ag_vote_kick": "0",
"allow_spectators": "1",
"mp_allowmonsters": "0",
"mp_autocrosshair": "0",
"mp_respawn_delay": "0.95",
"players_complete": true,
"sv_ag_allow_vote": "1",
"sv_ag_vote_allow": "1",
"sv_ag_vote_start": "1",
"sv_airaccelerate": "10",
"sv_allow_autoaim": "1",
"sv_waterfriction": "1",
"mp_dmg_xbow_scope": "120",
"max_queries_window": "1",
"sv_ag_vote_setting": "1",
"sv_wateraccelerate": "10",
"mp_dmg_xbow_noscope": "40",
"sv_ag_vote_gamemode": "1",
"amx_client_languages": "1",
"mp_dmg_gauss_primary": "20",
"sv_ag_disabled_votes": "",
"sv_ag_max_spectators": "32",
"max_queries_sec_global": "1",
"mp_dmg_gauss_secondary": "200",
"sv_ag_start_minplayers": "2",
"sv_ag_allowed_gamemodes": "ffa;ffax;tdm;tdm2;tdm3;tdm4;tdmx;arena;arcade;arcadex;sgbow;instagib;ctf;lts;lms;llhl"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13859611");
$data = json_decode($json, true);
var_dump($data);