Skip to content
No description, website, or topics provided.
Dart
Branch: master
Clone or download
Pull request Compare This branch is 21 commits behind dlombard:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
lib
test
.gitignore
.metadata
CHANGELOG.md
LICENSE
README.md
do_dart.iml
pedantic_analyis_options_1550349572458628.g.yaml
pubspec.yaml

README.md

do_dart BETA

Pub support

A Dart SDK for the DigitalOcean Api v2

dependencies:
  do_dart: ^0.1.2 #latest version

Easy to use

To get started, you need a DigitalOcean API key with sufficient privileges for the tasks you want to perform.

Then: Initializing the client

import 'package:do_dart/do_dart.dart';

Client client = Client(<DigitalOcean API Key>);

Examples

Initializing the client

import 'package:do_dart/do_dart.dart';

Client client = Client(<DigitalOcean API Key>);

Creating a droplet

DropletCreateRequest dcr =
        DropletCreateRequest("test-droplet", 'nyc1', 's-1vcpu-1gb', 43515152, ssh_keys: [<SSH KEY ID or Fingerprint]);

Droplet d = await client.droplet.create(dcr);

Copyright & License

The license is MIT.

Features and bugs

Please file feature requests and bugs at the issue tracker.

You can’t perform that action at this time.