https://github.com/lab5e/dart-simple
Sample API client in Dart that retrieves a list of collections from Span
https://github.com/lab5e/dart-simple
dart iot lang-dart sample
Last synced: 17 days ago
JSON representation
Sample API client in Dart that retrieves a list of collections from Span
- Host: GitHub
- URL: https://github.com/lab5e/dart-simple
- Owner: lab5e
- License: apache-2.0
- Created: 2023-12-24T13:07:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-05T11:41:06.000Z (over 2 years ago)
- Last Synced: 2025-11-27T21:40:14.121Z (7 months ago)
- Topics: dart, iot, lang-dart, sample
- Homepage: https://span.lab5e.com/
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dart API client sample
This is a (very) simple API client sample in Dart.
Create a new token in the [Span dashboard](https://span.lab5e.com) and launch the sample with `dart run bin/collections.dart [API token]`
## Adding the dependency
Add the dependecy to your project by running the following command:
```bash
dart pub add spanapi --git-url https://github.com/lab5e/dart-spanapi
```