|
|
|
|
GglListContactByRequest (Function) In french: GglListeContactParRequête Retrieves a list of contacts from custom parameters.
// Connection Cnt is gglConnection ... IF GglConnect(Cnt) = False THEN Error(ErrorInfo()) END ... // Retrieves all the contacts updated since 08/08/2008 arrContacts is array of 0 gglContact arrContacts = GglListContactByRequest(Cnt, "updated-min=2008-08-08") // Retrieves the first 10 contacts updated since July 14, 1789 // in descending order arrContacts = GglListContactByRequest(Cnt, ... "updated-min=1789-07-14&start-index=1&max-results=10") // Retrieves the contacts of a group (specified by its identifier) // in descending order of update date Identifier is string Identifier = "http://www.google.com/feeds/contacts/groups/jo%40gmail.com/base/1234a" arrContacts = GglListContactByRequest(Cnt, "sortorder=descending&group=" + Identifier)
Syntax
<Result> = GglListContactByRequest(<Google connection> , <Parameters>)
<Result>: Array of gglContact variables Array of gglContact variables. <Google connection>: gglConnection variable Name of the gglConnection variable to be used. This connection was validated by GglConnect. <Parameters>: Character string Parameters that must be passed to the HTTP request. The parameters are separated by the & character. For more details, see the documentation about the Google Contacts service. Remarks Possible error cases: - The Internet connection is not valid.
- The authentication was not performed properly.
- The XML response of the server cannot be read.
To find out whether an error occurred, use the ErrorOccurred variable.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|