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

[ library, public-domain, web ] [ Propose Tags ]

[Skip to Readme]
Versions 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 Mon Jun 20 04:19:52 UTC 2016
Category Web
Uploaded by grzegorzgolda at Wed Jun 15 09:18:25 UTC 2016
Distributions NixOS:0.0.2
Downloads 743 total (14 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-11-23 [all 1 reports]
Hackage Matrix CI

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

For package maintainers and hackage trustees


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