do_dart

Creator: coderz1093

Last updated:

0 purchases

do_dart Image
do_dart Images

Languages

Categories

Add to Cart

Description:

do dart

do_dart BETA #


A Dart SDK for the DigitalOcean Api v2
dependencies:
do_dart: ^0.1.4 #latest version
copied to clipboard
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>);
copied to clipboard
Examples #
Initializing the client
import 'package:do_dart/do_dart.dart';

Client client = Client(<DigitalOcean API Key>);
copied to clipboard
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);
copied to clipboard
Copyright & License #
The license is MIT.
Features and bugs #
Please file feature requests and bugs at the issue tracker.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.