Module GoogleApps.Contacts

A Contact.t contains the name, address, and various contact details of a contact.

type t
module Group : sig ... end

A Group.t is is a group of contacts.

val get_contacts : unit -> t list
val create : given_name:string -> family_name:string -> email:string -> t

Create a contact

val get_emails : t -> EmailField.t list
val get_family_name : t -> string
val get_given_name : t -> string
val get_full_name : t -> string
val get_phones : t -> PhoneField.t list
val get_contact_groups : t -> Group.g list
val add_phone : t -> field:PhoneField.Field.t -> number:string -> PhoneField.t
val add_to_group : t -> group:Group.g -> t

Adds a Contact.t to a Group.t