https://github.com/elastacloud/databricks-dotnet-rest-sdk
An SDK for the Databricks REST API in dotnet
https://github.com/elastacloud/databricks-dotnet-rest-sdk
databricks databricks-notebooks dotnet dotnet-library
Last synced: about 2 months ago
JSON representation
An SDK for the Databricks REST API in dotnet
- Host: GitHub
- URL: https://github.com/elastacloud/databricks-dotnet-rest-sdk
- Owner: elastacloud
- License: mit
- Created: 2018-08-07T13:06:07.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-05T15:14:39.000Z (over 7 years ago)
- Last Synced: 2025-10-09T08:42:51.386Z (8 months ago)
- Topics: databricks, databricks-notebooks, dotnet, dotnet-library
- Language: C#
- Size: 2.1 MB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DataBricks REST SDK for .NET [](https://www.nuget.org/packages/ElastaCloud.DataBricks.Sdk/)

Unofficial .NET wrapper for for [DataBricks REST API](https://docs.azuredatabricks.net/api/index.html).
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:
```csharp
DataBricksRestClient _restClient = new DataBricksRestClient("https://northeurope.azuredatabricks.net", "token");
```
Ready to call an api, for instance to get the list of job runs:
```csharp
Run[] runs = await _restClient.Jobs.GetRunsAsync();
```
## Credits
[Refit](https://github.com/reactiveui/refit) is a library to ease a pain of rest client development developed by a genius. Hail!