digitalocean 0.0.1 copy "digitalocean: ^0.0.1" to clipboard
digitalocean: ^0.0.1 copied to clipboard

An Sdk for the DigitalOcean API.

example/digitalocean_example.dart

import 'package:digitalocean/src/digitalocean.dart';

void main() {
  //Create an instance of digitalocean.
  //Get your application token from your digitalocean account or from your digitalocean representative.
  final digitalocean = DigitalOcean(
    oAuthToken:
        'fc1ca73c716cd6227a31f6f9c459dcb4afca447b02cb511f820bf483b38f468d231d6b425fd2d6de28d3a19f42f27e88547bebd4f38561bff61f6a51f0de8bcd',
  );

  //Call a service method.
  digitalocean.apps.list();
}