An open API service indexing awesome lists of open source software.

https://github.com/rmja/droguecloud.client

A Drogue Cloud client for .NET
https://github.com/rmja/droguecloud.client

Last synced: over 1 year ago
JSON representation

A Drogue Cloud client for .NET

Awesome Lists containing this project

README

          

# DrogueCloud.Client
A .NET client for the DrogueCloud API ([see specification](https://book.drogue.io/drogue-cloud/dev/api/index.html)).
It uses HttpClientFactory and Refit.

## Example

```c#
var services = new ServiceCollection();
services.AddDrogueCloudManagementApi(options => {
options.Endpoint = "https://api.sandbox.drogue.cloud";
options.Username = "some-user";
options.Password = "some-password";
});

var provider = services.BuildServiceProvider();
var drogue = provider.GetRequiredService();

var app = await drogue.GetAppAsync("some-app");
```