Re: [Evolution] contacts - People API vs. Contacts API



This has been bothering me for a while.  I use evolution (on ubuntu),
Android for phone and tablet and Outlook on windows 10.  They all sync
google contacts and calendars.  Which pretty much works.

Evolution/Google have been complaining for sometime about the contacts
versus people api used in evolution saying contact api is depricated.
 Google now say it is "sunsetted" post June 2021 i.e. not saupported
 so I am not sure how it keeps working??  See 
https://developers.google.com/contacts/v3/announcement

Looking at libgdata there is some activity but it doesn't seem a hugely
supported library and no talk of moving to people api that I can see.

I have looked for an alternative but dont really want to go down the
microsoft/activesync route as it will involve effort and I dont really
trust microsoft not to pull up the drawbridge at some point.

So
a) Is there a move to support People API for evolution anywhere? And if
not will evolution stop accessing google contacts anytime soon?

b) Given what I am doing is there a better, longer term supported
solution?  (Though this is probably better in another post!)

Cheers

DavidOn Wed, 2021-11-24 at 08:55 +0100, Milan Crha via evolution-list
wrote:
On Wed, 2021-11-24 at 08:20 +0100, Torsten Krah via evolution-list
wrote:
since which version of evolution the People API is used for
accessing
the contacts of Google contacts?

      Hi,
evolution(-data-server) used libgdata to access Google Contacts. The
libgdata does not support the People API, thus the Google contacts
are
shown using the CardDAV interface the Google offers. That's built-in
sync 3.42.0 of the evolution-data-server. Unfortunately, the CardDAV
API is not that feature rich as the Contacts API.

You an setup a CardDAV book accessing:

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapidata.googleusercontent.com%2Fcarddav%2Fv1%2Fprincipals%2FUSER%40gmail.com%2Flists%2Fdefault%2F&data=04%7C01%7C%7Cf3d19a3411e3475d95a708d9af1fde7e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637733373676012882%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=kVSVR7LHVPb8k3cnncR7%2FWvENNyIcELPfJQv9ulS5Zc%3D&reserved=0

The only tricky thing is to create such book, then find its
corresponding file under ~/.config/evolution/sources/ (for example by
searching the files for "carddav/v1/principals" (quotes for clarity
only) and change the [Authentication] Method=... to Method=Google

Then right-click the new book and pick Refresh. If that won't show
the
contacts, then use `evolution --force-shutdown` and start the
Evolution
again.
      Bye,
      Milan

_______________________________________________
evolution-list mailing list
evolution-list gnome org
To change your list options or unsubscribe, visit ...
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.gnome.org%2Fmailman%2Flistinfo%2Fevolution-list&data=04%7C01%7C%7Cf3d19a3411e3475d95a708d9af1fde7e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637733373676012882%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=kpA3psgvXEViUJdvB%2BFrCkYlAJc%2FWpGcE36J67ZrtD4%3D&reserved=0



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]