Hi,

To add Contacts to a Contact Group you should retrieve a Contact, add
the new group to GroupMembershipInfo and then update the Entry:
http://code.google.com/apis/contacts/docs/1.0/developers_guide_python.html#Updating

For Contacts Groups, the difference between using v1 and v2, is that
v2 allows you to work with System Groups, if you are just working with
your own custom groups the Python v1 client library should do the job.

At the moment you can only work with System Groups using v2, Protocol
directly or the Java client library:
http://code.google.com/apis/contacts/docs/2.0/developers_guide_protocol.html#Groups

For Google Contacts API questions I recommend you the Contacts API
Google Group, because you can find more specific information:
http://groups.google.com/group/google-contacts-api

Cheers,
Julian

On Feb 5, 7:04 pm, Oskar Casquero <[email protected]> wrote:
> Thank you Julian.
> I've checked the documentation, but I haven't been able to find out how to
> add a contact to a contact group. Could you give me a clue on this, please?
>
> I would like to use a library instead of raw http+xml. As I can see,
> currently the only library that supports the version 2.0 of the Contacts API
> is the one implemented in Java. However, although it is only available for
> v1.0, I would prefer to use Python library. Is it worth using Python library
> before it reaches v2.0?
>
> Cheers,
> -----
>
> Oskar Casquero Oyarzabal
> Department of Systems Engineering and Automatic Control
> University of the Basque Country
>
> Mailing Address:
> University College of Technical Industrial Engineering of Bilbao
> Plaza de la Casilla 3
> ZIP: 48012 - Bilbao (Spain)
>
> Phone & Fax: 94 601 4459
> E-mail: [email protected]
>
> On Thu, Feb 5, 2009 at 4:32 PM, Julian (Google) <[email protected]> wrote:
>
> > Hi Oskar,
>
> > There is not feature to do this automatically, but you can always use
> > the Google Contacts API to create the appropriate contacts to each
> > user.
>
> > Information about the Google Contacts API can be found here:
> >http://code.google.com/apis/contacts/docs/2.0/reference.html
>
> > Cheers,
> > Julian
>
> > On Feb 4, 3:54 pm, Oskar Casquero <[email protected]> wrote:
> > > Hello again,
> > > Is there any way in which Groups can be can be configured
> > programmatically
> > > in Contacts? I want each user to see the groups of contacts corresponding
> > to
> > > the groups he belongs to, while keeping hidden members from other groups.
>
> > > Thank you in advance,
> > > -----
>
> > > Oskar Casquero Oyarzabal
> > > Department of Systems Engineering and Automatic Control
> > > University of the Basque Country
>
> > > Mailing Address:
> > > University College of Technical Industrial Engineering of Bilbao
> > > Plaza de la Casilla 3
> > > ZIP: 48012 - Bilbao (Spain)
>
> > > Phone & Fax: 94 601 4459
> > > E-mail: [email protected]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to