Authentication

Any function that communicates with the Google servers needs an authentication session object. The session object can be passed to the functions using the keyword parameter :session. If the :session parameter is not given, the global variable *GDATA-SESSION* is used instead.

Currently, ClientLogin is the only supported authentication type. This authentication method is implemented by the class CL-GDATA-CLIENTLOGIN:CLIENTLOGIN-SESSION. The following example shows how to authenticate using this class:

(setq cl-gdata:*gdata-session* (make-instance 'cl-gdata-clientlogin:clientlogin-session
                                              :username username
                                              :password password))

Once this has been done, all other API calls should work.
Comments