haskell-google-trends: Simple library for accessing Google Trends

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

[Skip to Readme]
Versions [faq] 0.0.1, 0.0.2
Dependencies base (>=4.8 && <5), bytestring, haskell-fake-user-agent (>=0.0.2), lens, regex-base, regex-posix, tagsoup, text, wreq [details]
License LicenseRef-PublicDomain
Author grzegorzgoldapl
Maintainer contact@grzegorzgolda.com
Revised Revision 1 made by grzegorzgolda at 2016-06-20T04:21:31Z
Category Web
Uploaded by grzegorzgolda at 2016-06-16T14:45:44Z
Distributions NixOS:0.0.2
Downloads 1407 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2016-06-16 [all 1 reports]




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-google-trends-0.0.1

[back to package description]


Very simple library for accessing Google Trends


Currently library exports only one function.

queryTrendsWithLogin :: String -> String -> String -> IO (Maybe [(Integer, String, Integer)])

Returns maybe a list of tuples of form (Year, Month, Value)


import Google.Trends

main = do
    Just results <- queryTrendsWithLogin "your-login@gmail.com" "password" "pizza"
    print [(month, value) | (year, month, value) <- results, year == 2010]