The haskell-fake-user-agent package

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

[Skip to Readme]

Properties

Versions 0.0.1, 0.0.2
Dependencies base (>=4.8 && <5), bytestring, lens, tagsoup, wreq [details]
License PublicDomain
Author grzegorzgoldapl
Maintainer contact@grzegorzgolda.com
Category Web
Uploaded Wed Jun 15 09:18:25 UTC 2016 by grzegorzgolda
Updated Mon Jun 20 04:19:52 UTC 2016 by grzegorzgolda to revision 1   [What is this?]
Distributions NixOS:0.0.2
Downloads 225 total (52 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