From afff2b0e4a00488ed24a79de5edc5024845ba88b Mon Sep 17 00:00:00 2001 From: mileusna Date: Wed, 16 Aug 2017 18:24:15 +0200 Subject: [PATCH] Doc update --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1fdb11e..1a51392 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,11 @@ # Go/Golang package for parsing user agent strings [![GoDoc](https://godoc.org/github.com/mileusna/useragent?status.svg)](https://godoc.org/github.com/mileusna/useragent) -Parse browser's and bot's user agents strings and determin user agent name, version, operating system name etc. +Package `ua.Parse(userAgent string)` function parses browser's and bot's user agents strings and determins: ++ User agent name and version (Chrome, Firefox, Googlebot, etc.) ++ Operating system name and version (Windows, Android, iOS etc.) ++ Device type (mobile, desktop, tablet, bot) ++ Device name if available (iPhone, iPad, Huawei VNS-L21) ++ URL provided by the bot (http://www.google.com/bot.html etc.) ## Status