Dime.Scheduler.Sdk 2.0.0-alpha.17

This is a prerelease version of Dime.Scheduler.Sdk.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Dime.Scheduler.Sdk --version 2.0.0-alpha.17
NuGet\Install-Package Dime.Scheduler.Sdk -Version 2.0.0-alpha.17
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="Dime.Scheduler.Sdk" Version="2.0.0-alpha.17" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dime.Scheduler.Sdk --version 2.0.0-alpha.17
#r "nuget: Dime.Scheduler.Sdk, 2.0.0-alpha.17"
#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 Dime.Scheduler.Sdk as a Cake Addin
#addin nuget:?package=Dime.Scheduler.Sdk&version=2.0.0-alpha.17&prerelease

// Install Dime.Scheduler.Sdk as a Cake Tool
#tool nuget:?package=Dime.Scheduler.Sdk&version=2.0.0-alpha.17&prerelease

Dime.Scheduler Logo

Dime.Scheduler .NET SDK

This is the official SDK for Dime.Scheduler. The SDK is a gateway to connect any system to Dime.Scheduler through its extensive import pipeline and large collection of web APIs.

Check out the ๐Ÿ“š docs ยป for more info.

Prerequisites

In order to successfully use the SDK, make sure to comply with the following requirements:

  • An active Dime.Scheduler subscription
  • A valid Dime.Scheduler API key

Installation

Use the package manager NuGet to install the base library of the SDK:

dotnet add package Dime.Scheduler.Sdk

โš ๏ธ Versions 2 and up are built for the cloud version of Dime.Scheduler. Use 1.x.x for on-premise versions.

Usage

The example below fetches the resources available in Dime.Scheduler:

DimeSchedulerClient client = new("http://mydimescheduler.com", "my-api-key");
IEnumerable<Resource> resources = await client.Resources.GetAsync(new ResourceRequest());
foreach (Resource resource in resources)
    Console.WriteLine(resource.Email);

The DimeSchedulerClient class is the entry point and it is where all endpoints are exposed:

DimeSchedulerClient client = new(uri,  "my-api-key");

Two arguments are required: the URI to Dime.Scheduler and a valid API key. With these credentials, you can access any of the endpoints.

IEnumerable<Resource> resources = await resourceEndpoint.GetAsync(new ResourceRequest());

Import

The import API is the entry point for external systems to feed data into Dime.Scheduler. The import endpoints expose a set of import pipelines to map and save data in the Dime.Scheduler database. Any class that implements the IImportRequestable interface is eligible to be processed by the import service in Dime.Scheduler.

This example adds or updates a category:

using Dime.Scheduler.Sdk.Import;

DimeSchedulerClient client = new(uri,  "my-api-key");
Category category = new("Category #1", "#6e62b5");
await client.Import.RunAsync(category, TransactionType.Append);

This example adds or updates a filter group:

using Dime.Scheduler.Sdk.Import;

string uri = "http://mydimescheduler.com";
DimeSchedulerClient client = new(uri,  "my-api-key");

FilterGroup filterGroup = new FilterGroup { Name = "Group 1" };
await client.Import.RunAsync(filterGroup, TransactionType.Append);

Read more

Check out the ๐Ÿ“š docs ยป for more info.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
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
2.0.0-alpha.18 165 11/20/2023
2.0.0-alpha.17 296 11/7/2023
2.0.0-alpha.16 269 11/7/2023
2.0.0-alpha.7 340 8/27/2023
2.0.0-alpha.6 73 8/27/2023
2.0.0-alpha.5 69 8/27/2023
2.0.0-alpha.4 63 8/26/2023
2.0.0-alpha.3 77 7/25/2023
2.0.0-alpha.2 71 7/19/2023
2.0.0-alpha.1 2,982 3/13/2023
1.0.1 255 11/22/2023
1.0.0 333 3/11/2023
1.0.0-beta.15 612 10/27/2022
1.0.0-beta.14 112 9/28/2022
1.0.0-beta.13 253 8/29/2022
1.0.0-beta.12 422 7/3/2022
1.0.0-beta.11 119 6/23/2022
1.0.0-beta.10 110 6/23/2022
1.0.0-beta.9 224 4/28/2022
1.0.0-beta.7 121 1/7/2022
1.0.0-beta.6 123 12/30/2021
1.0.0-beta.5 267 12/15/2021
1.0.0-beta.4 139 12/15/2021
1.0.0-beta.3 133 12/8/2021
1.0.0-beta.2 778 12/3/2021
1.0.0-beta.1 153 11/22/2021
0.1.0-beta.2 162 11/17/2021
0.1.0-beta.1 261 10/13/2021
0.1.0-alpha.20 186 10/13/2021
0.1.0-alpha.19 145 10/12/2021
0.1.0-alpha.17 195 5/25/2021
0.1.0-alpha.16 166 4/22/2021
0.1.0-alpha.15 164 4/12/2021
0.1.0-alpha.14 147 4/12/2021
0.1.0-alpha.13 165 3/30/2021
0.1.0-alpha.12 187 3/24/2021
0.1.0-alpha.11 190 3/23/2021
0.1.0-alpha.10 169 3/15/2021
0.1.0-alpha.9 190 3/6/2021
0.1.0-alpha.8 209 3/5/2021
0.1.0-alpha.7 181 3/2/2021
0.1.0-alpha.6 166 2/26/2021
0.1.0-alpha.5 152 2/26/2021
0.1.0-alpha.4 174 2/24/2021
0.1.0-alpha.3 141 2/23/2021
0.1.0-alpha.2 190 2/23/2021
0.1.0-alpha.1 170 2/20/2021
0.0.1-alpha.2 156 2/17/2021
0.0.1-alpha.1 172 2/17/2021