haskell-fake-user-agent

Simple library for retrieving current user agent strings

Latest on Hackage:0.0.2

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

PublicDomain licensed by grzegorzgoldapl

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

Used by 1 package:
comments powered byDisqus