/databricks-dotnet-rest-sdk

An SDK for the Databricks REST API in dotnet

Primary LanguageC#MIT LicenseMIT

DataBricks REST SDK for .NET NuGet

Unofficial .NET wrapper for for DataBricks REST API.

Note that calls are implemented based on current demand, this SDK doesn't cover all of them. Please raise a PR if you need to add more.

Obtaining Authentication Token

On DataBricks portal go to User -> User Settings

Create new token and copy before closing the dialog:

Using the SDK

Create an instance of rest client:

DataBricksRestClient _restClient = new DataBricksRestClient("https://northeurope.azuredatabricks.net", "token");

Ready to call an api, for instance to get the list of job runs:

Run[] runs = await _restClient.Jobs.GetRunsAsync();

Credits

Refit is a library to ease a pain of rest client development developed by a genius. Hail!