Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 894 Bytes

File metadata and controls

32 lines (22 loc) · 894 Bytes

PipeDriveApi

NuGet

.Net API for interacting with the PipeDrive API. Fully Async, support for custom fields and API Rate limiting.

Example - Basics

var myKey = "MY_PIPEDRIVE_API_KEY";
var client = new PipeDriveClient(myKey);

var emails = await client.Activities.GetAllByType("email");
var deals = await client.Deals.GetAllAsync();
var persons = await client.Persons.GetAllAsync();

Example - Custom Fields

var myKey = "MY_PIPEDRIVE_API_KEY";
var client = new PipeDriveClient<Person, MyCustomOrganization,Deal,Product>(myKey);

var orgs = await client.Organizations.GetAsync();

public class MyCustomOrganization : Organization
{
   [CustomField("5d65d158579525f6d46b7d381fad397d74778553")]
   public string FavoriteShoeSize { get; set; }
}