This is a (very) simple API client sample in Dart.
Create a new token in the Span dashboard and launch the sample with dart run bin/collections.dart [API token]
Add the dependecy to your project by running the following command:
dart pub add spanapi --git-url https://github.com/lab5e/dart-spanapi