Haskell implementation of the Google+ API v1

Latest on Hackage:

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 to host generated Haddocks.

BSD3 licensed and maintained by Michael Xavier

Haskell implementation of the GooglePlus api. For more info, see

Requires that you have cabal installed. I've included a Makefile for convenience. To install run `make install`

Alternatively, you can install this from Hackage:
`cabal install googleplus`

`make doc` will generate a doc directory. Point your browser at the index.html to see the Haddock documentation.

Brief Example
This example is included in the documentation of the Web.GooglePlus:

{-# LANGUAGE OverloadedStrings #-}
import Web.GooglePlus
import Web.GooglePlus.Monad
import Web.GooglePlus.Types
import Control.Monad.Reader
import Data.Text (unpack)

doStuff :: GooglePlusM ()
doStuff = do
Right person <- getPerson Me
Right feed <- getActivityFeed Me PublicCollection
-- ...
return ()

main :: IO ()
main = do
runReaderT (unGooglePlusM doStuff) env
where env = GooglePlusEnv { gpAuth = APIKey "MYKEY" }

Use the issue tracker on github for bugs. I'll do my best to get them resolved
as soon as I can. One thing you may encounter is a parse error (resulting in a
Left value) in some of the API calls talking about a key missing. I've tried to
weed these out as much as possible but this is a result of Google not
explicitly specifying what fields will always be present. I've had to just feed
live data through the code to figure out what fields aren't always there. This,
consequently, is why there are so many Maybe fields in the datatypes. If you
spot one of these parse errors, please tell me right away so I can correct the



The following is a release history for the GooglePlus library for Haskell. - Oct 16, 2011
* Fix build failure on GHC 7.2

0.3.1 - Oct 15, 2011
* Upgraded from rfc3339 to timerep package to build with GHC 7.2. You should
uninstall rfc3339 as they export the same modules.

0.3.0 - Oct 14, 2011
* Person search
* Comments
* Activities enumerator (alternative to enumActivityFeed and friends). Allows
you to get just activities without the extraneous metadata.
* Added simplified functions for those that do not want to use enumerators.

0.2.2 - Oct 7, 2011
* Make a person URL optional, as it is not always present.

0.2.1 - Oct 3, 2011
* Add activity feed enumerator.

0.1.0 - Sep 25, 2011
* Get Person
* Get ActivityFeed
comments powered byDisqus