Questions tagged [carddav]

CardDAV is an address book client/server protocol designed to allow users to access and share contact data on a server.

CardDAV is an address book client/server protocol designed to allow users to access and share contact data on a server.

101 questions
2
votes
1 answer

Programming Google CardDAV in Python

I want to obtain my Google contacts through the CardDAV protocol using preferably Python (open to other languages). I've come across the pycarddav library, but it only works with SabreDAV/DAVical servers, not Google for example. How one would go…
user1034697
2
votes
1 answer

How to do advanced filters in CardDAV (WebDAV) REPORT request

My vcards have a CATEGORIES property that has a comma separated list of values. What I want is to get all the vcards that have the passed value somewhere in this comma separated list. I'm trying to do a CardDAV REPORT request with a filter to…
FerCa
  • 2,067
  • 3
  • 15
  • 18
2
votes
1 answer

Is it possible to update linked contacts from my iOS app using ABPersonViewController?

My app allows the users to import contacts from their address book and store them in our CardDAV server. I'd like keep the contacts on our CardDAV server with all other linked contacts in the address book (iCloud for example) in sync. When a…
1
vote
0 answers

Google CardDAV for Contacts - Read Only?

I'm looking to use Google CardDAV to push a set of Contacts tied to a specific Google account out to a bunch of iPhone devices using our MDM software. So far everything works - i pointed the software to…
1
vote
0 answers

Serve contacts stored in CSV via CardDav protocol?

I have multiple CSV files with contacts. Each file belongs to a different user. I'd like to give users an option to read contacts using CardDav protocol. It should be READ-ONLY. I'm considering radical server but I think it handles storage…
Milano
  • 18,048
  • 37
  • 153
  • 353
1
vote
1 answer

LXML - .//{DAV:}response raises lxml.etree.XPathEvalError: Invalid expression

I'm trying to get all response tags by using: .//{DAV:}response tree = etree.fromstring(r.content) for response in tree.xpath(".//{DAV:}response"): ... The problem is that lxml returns this error: lxml.etree.XPathEvalError: Invalid…
Milano
  • 18,048
  • 37
  • 153
  • 353
1
vote
0 answers

Synchronize android contacts with my own rest api

I'd like to periodically update contacts on my android phone with my own server(REST based service). Is it ok to create simple service to run in background and communicate with my REST to get updates from server or maybe I should transfer contacts…
arek
  • 1,282
  • 4
  • 15
  • 25
1
vote
0 answers

CardDav (iCloud) what can be a reason for patches forbidden responses?

Does anyone else also noticed strange forbidden responses for existing vcard files updates? See my curl example: curl --location --request PUT 'https://p52-contacts.icloud.com/1........4/carddavhome/card/53cd4fa9-6fb0-40c3-9975-ff41909c7d9c.vcf'…
Lukasz
  • 33
  • 3
1
vote
1 answer

Incremental sync for CalDAV in JavaScript

I want to fetch the CalDAV calendar and address book from the server, store the values locally on disk to cache them, and save the syncToken. Then, later, either in an interval or at the latest during the next start of the app, run the sync again.…
Ben Bucksch
  • 395
  • 3
  • 13
1
vote
1 answer

Baikal CalDAV : No 'Authorization: Basic' header found ver. 0.6.0 MacOSX Calendar

Previously we were using Baikal ver. 0.5.3, which we tested for Thunderbird and Mac OSX Calendar, recently we upgraded to ver. 0.6.0, after that Thunderbird is working but Mac OSX Calendar is not working, error logs : user not authorized: Baikal…
Ankush
  • 63
  • 9
1
vote
1 answer

What scopes are neccesary to access GMail contacts via carddav?

In the limited Google CardDAV Documentation, located here the following is mentioned Client applications must use HTTPS, and OAuth 2.0 authentication must be provided for the user's Google account. The CardDAV server will not authenticate a request…
Matt Kagan
  • 611
  • 1
  • 12
  • 24
1
vote
3 answers

Getting vCards from iCloud using PHP

Searched thru serverfault.com, stackoverflow.com, apple.stackexchange.com, googled and still not getting far. Need someone to help. I'm trying to get all vCards from iCloud accounts. I'm starting from the plugin from Roundcube/CardDav. From the…
charleslcso
  • 182
  • 1
  • 1
  • 16
1
vote
0 answers

Save contacts to CardDAV adress book with Python

I want to save some contacts into a CardDAV address book running on a OwnCloud server. Is there an easy way to do this with python? I have tried python-pycarddav but it is very hard to start because I could not find a manual or a example for us this…
oxidworks
  • 1,563
  • 1
  • 14
  • 37
1
vote
2 answers

Sogo CardDav support

I am trying to retrieve a list of contacts (in .vcf format) from the Sogo groupware system, using CardDav. I have used my code with other systems successfully, but Sogo does not work as I expect. I have the URL set…
Jeff McKay
  • 295
  • 1
  • 3
  • 11
1
vote
2 answers

How is data stored on a CardDav server?

I wanted to ask a question about server data. I am new to server programming, but I have to learn about the CardDav server (CardDav is developed by the WebDav). I only know the CardDav server is used to hold the address book data, but what form of…
Questions
  • 20,055
  • 29
  • 72
  • 101