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,993 | 12/20/2020 |
5.1.0 | 32,081 | 4/20/2020 |
5.0.1 | 2,111 | 2/29/2020 |
5.0.0 | 549 | 2/26/2020 |
4.1.1 | 591 | 2/18/2020 |
4.1.0 | 715 | 2/11/2020 |
4.0.2 | 2,150 | 12/16/2019 |
4.0.1 | 574 | 12/16/2019 |
4.0.0 | 1,076 | 8/15/2019 |
3.1.0 | 632 | 8/7/2019 |
3.0.0 | 604 | 8/2/2019 |
2.4.0 | 618 | 8/2/2019 |
2.3.0 | 630 | 8/1/2019 |
2.2.0 | 944 | 4/29/2019 |
2.1.1 | 645 | 4/25/2019 |
2.1.0 | 658 | 4/19/2019 |
2.0.3 | 838 | 2/4/2019 |
2.0.2 | 1,344 | 8/22/2018 |
2.0.1 | 2,124 | 4/6/2018 |
2.0.0 | 1,077 | 2/7/2018 |
1.0.7 | 1,334 | 8/14/2016 |
1.0.6 | 1,230 | 8/1/2016 |
1.0.5 | 1,434 | 3/19/2015 |
1.0.4 | 1,445 | 1/6/2015 |
1.0.3.1 | 1,755 | 12/27/2014 |
1.0.3 | 1,657 | 12/27/2014 |
1.0.2 | 1,319 | 9/27/2014 |
1.0.2-beta | 1,124 | 9/9/2014 |
1.0.1-beta | 926 | 8/28/2014 |
1.0.0-beta | 1,143 | 8/3/2014 |
0.1.1 | 1,433 | 5/7/2014 |
0.1.0 | 1,180 | 5/6/2014 |
* UserData added to Droplet Creation (thanks @kodas2)