haskell-fake-user-agent: Simple library for retrieving current user agent strings

[ library, public-domain, web ] [ Propose Tags ] [ Report a vulnerability ]

Modules

[Index]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1, 0.0.2
Dependencies base (>=4.8 && <5), bytestring, lens, tagsoup, wreq [details]
License LicenseRef-PublicDomain
Author grzegorzgoldapl
Maintainer contact@grzegorzgolda.com
Revised Revision 1 made by grzegorzgolda at 2016-06-20T04:19:52Z
Category Web
Uploaded by grzegorzgolda at 2016-06-15T09:18:25Z
Distributions NixOS:0.0.2
Reverse Dependencies 1 direct, 1 indirect [details]
Downloads 1694 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-11-23 [all 1 reports]

Readme for haskell-fake-user-agent-0.0.2

[back to package description]

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