Safe Haskell | None |
---|---|
Language | Haskell98 |
Functions for accessing the Google Contacts API, see https://developers.google.com/google-apps/contacts/v3/.
- listContacts :: AccessToken -> IO Element
- extractGnuPGNotes :: [Recipient] -> Element -> IO String
Functions
:: AccessToken | The OAuth 2.0 access token. |
-> IO Element | The action returning the contacts in XML format. |
List the contacts, see https://developers.google.com/google-apps/contacts/v3/#retrieving_all_contacts.
:: [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.