DigitalOcean.API 2.0.0

There is a newer version of this package available.
See the version list below for details.
Install-Package DigitalOcean.API -Version 2.0.0
dotnet add package DigitalOcean.API --version 2.0.0
<PackageReference Include="DigitalOcean.API" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DigitalOcean.API --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DigitalOcean.API, 2.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install DigitalOcean.API as a Cake Addin
#addin nuget:?package=DigitalOcean.API&version=2.0.0

// Install DigitalOcean.API as a Cake Tool
#tool nuget:?package=DigitalOcean.API&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

DigitalOcean API

Build status NuGet version

Implementation of the DigitalOcean API (v2) for .NET.

NuGet

Usage Examples

var client = new DigitalOceanClient("api_token");

You can generate your API token from your DigitalOcean Control Panel

// Retrieving all Droplets
var droplets = await client.Droplets.GetAll();
// => IReadOnlyList<Droplet>
// Retrieving all Domain Records
var records = await client.DomainRecords.GetAll();
// => IReadOnlyList<DomainRecord>
// Rebooting a Droplet
var action = await client.DropletActions.Reboot(9001);
// => Action
// Creating a new Droplet
var newDroplet = new Droplet {
  // ...
};
var droplet = await client.Droplets.Create(newDroplet);
// => Droplet

Documentation

Check out the DigitalOcean API for in-depth details.

License

Copyright (c) 2016 Thomas McNiven (vevix)

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on DigitalOcean.API:

Package Downloads
Microting.DigitalOceanBase

Package Description

nsync

Package Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on DigitalOcean.API:

Repository Stars
win-acme/win-acme
A simple ACME client for Windows (for use with Let's Encrypt et al.)
Version Downloads Last updated
5.2.0 3,060 12/20/2020
5.1.0 7,701 4/20/2020
5.0.1 1,603 2/29/2020
5.0.0 262 2/26/2020
4.1.1 278 2/18/2020
4.1.0 430 2/11/2020
4.0.2 1,792 12/16/2019
4.0.1 264 12/16/2019
4.0.0 708 8/15/2019
3.1.0 309 8/7/2019
3.0.0 297 8/2/2019
2.4.0 291 8/2/2019
2.3.0 312 8/1/2019
2.2.0 626 4/29/2019
2.1.1 325 4/25/2019
2.1.0 353 4/19/2019
2.0.3 543 2/4/2019
2.0.2 992 8/22/2018
2.0.1 993 4/6/2018
2.0.0 655 2/7/2018
1.0.7 949 8/14/2016
1.0.6 728 8/1/2016
1.0.5 1,028 3/19/2015
1.0.4 925 1/6/2015
1.0.3.1 823 12/27/2014
1.0.3 848 12/27/2014
1.0.2 804 9/27/2014
1.0.2-beta 747 9/9/2014
1.0.1-beta 699 8/28/2014
1.0.0-beta 749 8/3/2014
0.1.1 907 5/7/2014
0.1.0 756 5/6/2014

- Now targeting .NET Standard 2.0
- Added support for `SizeGigabytes` to the `Image` client (@ppumkin)