UAInspector v0.15.1 UAInspector View Source

UA Inspector - User agent parser library

Link to this section Summary

Functions

Checks if a user agent is a known bot

Checks if a user agent is a HbbTV and returns its version if so

Parses a user agent

Parses a user agent without checking for bots

Reloads all databases

Link to this section Functions

Link to this function bot?(ua) View Source
bot?(String.t()) :: boolean()

Checks if a user agent is a known bot.

Link to this function hbbtv?(ua) View Source
hbbtv?(String.t()) :: false | String.t()

Checks if a user agent is a HbbTV and returns its version if so.

Parses a user agent.

Link to this function parse_client(ua) View Source
parse_client(String.t()) :: map()

Parses a user agent without checking for bots.

Link to this function reload() View Source
reload() :: :ok

Reloads all databases.