Dart API client sample

The client sample at https://github.com/lab5e/dart-simple demonstrates how to use the Dart API client.

Create a new API token in the Span dashboard and run the sample with

dart run bin/collections.dart [API token]

Adding the dependency

Add the dependecy to your project by running the following command:

dart pub add spanapi --git-url https://github.com/lab5e/dart-spanapi