This project provides a Haskell library and command-line interface for Google services such as Google Storage, Contacts, Books, etc. The package and on-line documentation is available from Hackage.
For OAuth 2.0, the following operations are supported:
- Forming a URL for authorizing one or more Google APIs
- Exchanging an authorization code for tokens
- Refreshing tokens
- Validating tokens
For the Google Storage API, the following operations are supported:
Operations in the Google Fusion Tables API are also supported.
For the unofficial Google Bookmarks API, the following operations are supported:
- List bookmarks
For the Google Books API, the following operations are supported:
For the Google Contacts API, the following operations are supported:
- Downloading a full list of contacts in XML format
- Extracting and decrypting GnuPG/PGP text in contacts' Notes fields
For the Picasa API, the following operations are supported:
In the future we will add support for the following APIs:
The command-line application provides the following capabilities:
- OAuth 2.0
- Generate an OAuth 2.0 URL
- Exchange an OAuth 2.0 code for tokens
- Refresh OAuth 2.0 tokens
- Bookmarks _ List bookmarks
- Books
- List bookshelves
- List books
- Contacts
- Download Google Contacts
- Decrypt GnuPG/PGP content in the Notes fields
- Picasa
- List albums
- List photos
- Storage
- List objects in a Google Storage bucket
- Get an object from a Google Storage bucket
- Put an object into a Google Storage bucket
- Delete an object from a Google Storage bucket
- Get object metadata from a Google Storage bucket
- Synchronize a directory with a Google Storage bucket