@hackage / haskell-fake-user-agent

Simple library for retrieving current user agent strings

Latest0.0.2

About

Metadata

  • Last updated , by grzegorzgolda
  • License LicenseRef-PublicDomain
  • Categories Web Development
  • Maintained by: contact@grzegorzgolda.com

  • Lottery factor: 0

Links

Installation

Readme

FAKE USER AGENT STRING

Very simple library downloading current user agent strings from http://useragentstring.com

HOW TO USE

getBrowserStrings :: String -> IO [String]

returns a list of user agent strings for a given browser, where browser may be "Chrome", "Firefox", etc. (see http://useragentstring.com for the list of browsers)

getLatestBrowserString :: String -> IO String

returns a head of the above list