DigitalOcean.API
1.0.7
See the version list below for details.
dotnet add package DigitalOcean.API --version 1.0.7
NuGet\Install-Package DigitalOcean.API -Version 1.0.7
<PackageReference Include="DigitalOcean.API" Version="1.0.7" />
paket add DigitalOcean.API --version 1.0.7
#r "nuget: DigitalOcean.API, 1.0.7"
// Install DigitalOcean.API as a Cake Addin #addin nuget:?package=DigitalOcean.API&version=1.0.7 // Install DigitalOcean.API as a Cake Tool #tool nuget:?package=DigitalOcean.API&version=1.0.7
DigitalOcean API
Implementation of the DigitalOcean API (v2) for .NET.
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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Newtonsoft.Json (>= 6.0.3)
- RestSharp (>= 104.4.0)
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 (2)
Showing the top 2 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.)
|
|
denys-olleik/accounting
Implementation of a forward-only double-entry accounting method with a relational database.
|
Version | Downloads | Last updated |
---|---|---|
5.2.0 | 27,328 | 12/20/2020 |
5.1.0 | 32,077 | 4/20/2020 |
5.0.1 | 2,110 | 2/29/2020 |
5.0.0 | 548 | 2/26/2020 |
4.1.1 | 590 | 2/18/2020 |
4.1.0 | 713 | 2/11/2020 |
4.0.2 | 2,148 | 12/16/2019 |
4.0.1 | 570 | 12/16/2019 |
4.0.0 | 1,075 | 8/15/2019 |
3.1.0 | 631 | 8/7/2019 |
3.0.0 | 603 | 8/2/2019 |
2.4.0 | 617 | 8/2/2019 |
2.3.0 | 627 | 8/1/2019 |
2.2.0 | 940 | 4/29/2019 |
2.1.1 | 644 | 4/25/2019 |
2.1.0 | 657 | 4/19/2019 |
2.0.3 | 836 | 2/4/2019 |
2.0.2 | 1,342 | 8/22/2018 |
2.0.1 | 2,122 | 4/6/2018 |
2.0.0 | 1,074 | 2/7/2018 |
1.0.7 | 1,333 | 8/14/2016 |
1.0.6 | 1,229 | 8/1/2016 |
1.0.5 | 1,433 | 3/19/2015 |
1.0.4 | 1,444 | 1/6/2015 |
1.0.3.1 | 1,754 | 12/27/2014 |
1.0.3 | 1,656 | 12/27/2014 |
1.0.2 | 1,318 | 9/27/2014 |
1.0.2-beta | 1,123 | 9/9/2014 |
1.0.1-beta | 925 | 8/28/2014 |
1.0.0-beta | 1,142 | 8/3/2014 |
0.1.1 | 1,432 | 5/7/2014 |
0.1.0 | 1,179 | 5/6/2014 |
* UserData added to Droplet Creation (thanks @kodas2)