iCloud.Dav.People 3.1.3

dotnet add package iCloud.Dav.People --version 3.1.3
NuGet\Install-Package iCloud.Dav.People -Version 3.1.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="iCloud.Dav.People" Version="3.1.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add iCloud.Dav.People --version 3.1.3
#r "nuget: iCloud.Dav.People, 3.1.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install iCloud.Dav.People as a Cake Addin
#addin nuget:?package=iCloud.Dav.People&version=3.1.3

// Install iCloud.Dav.People as a Cake Tool
#tool nuget:?package=iCloud.Dav.People&version=3.1.3


iCloud.Dav.People is a .NET library that allows you to interact with iCloud contacts and contact groups.


You can install iCloud.Dav.People via NuGet package manager or by downloading the source code and building it manually.

NuGet Installation

To install iCloud.Dav.People via NuGet, run the following command in the Package Manager Console:

Install-Package iCloud.Dav.People

Manual Installation

To manually install iCloud.Dav.People, follow these steps:

  1. Download the source code from this repository.
  2. Open the solution file (.sln) in Visual Studio.
  3. Build the solution.


To use iCloud.Dav.People in your .NET project, you need to add a reference to the iCloud.Dav.People assembly. You can do this either by adding a reference to the respective NuGet package or by referencing the assembly directly.

Here are examples of how to use iCloud.Dav.People:


For seamless authentication with iCloud.Dav.People, refer to the iCloud.Dav.Auth module.

Get Resource Name

using iCloud.Dav.People.DataTypes;
using iCloud.Dav.People.Services;
using System.Linq;

PeopleService peopleService = new PeopleService(initializer);
IdentityCardList identityCardList = peopleService.IdentityCard.List().Execute();
IdentityCard identityCard = identityCardList.Items.First();
string resourceName = identityCard.ResourceName;

Get Contacts

using iCloud.Dav.People.DataTypes;
using iCloud.Dav.People.Services;

PeopleService peopleService = new PeopleService(initializer);
ContactList contactList = peopleService.People.List(resourceName).Execute();

Get Contact Groups

using iCloud.Dav.People.DataTypes;
using iCloud.Dav.People.Services;

PeopleService peopleService = new PeopleService(initializer);
ContactGroupList contactGroupList = peopleService.ContactGroups.List(resourceName).Execute();

Get File

using iCloud.Dav.People.Services;
using System;

CloudGatewayService cloudGatewayService = new CloudGatewayService(initializer);
byte[] data = cloudGatewayService.CloudGateway.Get(new Uri("file_url")).Execute();

Get Next SyncToken

using iCloud.Dav.People.DataTypes;
using iCloud.Dav.People.Services;

PeopleService peopleService = new PeopleService(initializer);
SyncToken syncToken = peopleService.IdentityCard.GetSyncToken(resourceName).Execute();

Sync Collection

using iCloud.Dav.People.DataTypes;
using iCloud.Dav.People.Services;
using iCloud.Dav.People.Resources;

PeopleService peopleService = new PeopleService(initializer);
IdentityCardResource.SyncCollectionRequest syncCollectionRequest = peopleService.IdentityCard.SyncCollection(resourceName);
syncCollectionRequest.SyncToken = syncToken.NextSyncToken;
SyncCollectionList syncCollectionList = syncCollectionRequest.Execute();


Contributions to iCloud.Dav are welcome! If you want to contribute to the project, please fork the repository and create a pull request with your changes.


iCloud.Dav is licensed under the MIT license. See the License file for more information.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.1.3 117 4/13/2024
3.1.2 88 4/5/2024
3.1.0 223 11/18/2023
3.0.0 228 4/18/2023
3.0.0-alpha 144 12/23/2022
2.0.0 442 6/26/2022
1.0.1 349 9/16/2021
1.0.0 321 9/15/2021