handa-gdata-0.6.3: Library and command-line utility for accessing Google services and APIs.

Safe HaskellNone

Network.Google.Contacts

Contents

Description

Functions for accessing the Google Contacts API, see https://developers.google.com/google-apps/contacts/v3/.

Synopsis

Functions

listContactsSource

Arguments

:: AccessToken

The OAuth 2.0 access token.

-> IO Element

The action returning the contacts in XML format.

extractGnuPGNotesSource

Arguments

:: [Recipient]

The recipients to re-encrypt the extracts to.

-> Element

The contact list.

-> IO String

The action return the decrypted and then possibly re-encrypted extracts.

Extract the GnuPG/PGP text in the "Notes" fields of a contact list. Extracts are re-encrypted if recipients for the re-encrypted list are specified.