.NET Standard API Client for ChurnZero API
Format:
[major]
.[minor]
.[patch]
Package version is not incremented automaticly. If you do some changes, you should change package version as follows:
MAJOR version when you make incompatible API changes
MINOR version when you add functionality in a backwards-compatible manner
PATCH version when you make backwards-compatible bug fixes.
nuget pack -Prop Configuration=Release -IncludeReferencedProjects
"ChurnZeroSettings": {
"ApiBaseUrl": "https://eu1analytics.churnzero.net/i",
"AppKey": "Your App Key from ChurnZero"
}
services.AddChurnZeroApiClient(Configuration);
var trackEventResponse = await serviceProvider.GetService<IChurnZeroClient>().TrackEventAsync(new TrackEventRequest
{
AccountExternalId = "test",
ContactExternalId = "[email protected]",
EventName = "sample-event-test"
});
https://github.com/Talentech/ChurnZeroApiClient/tree/master/examples/ChurnZeroApiClientExamples