Last updated:
0 purchases
mixin bot sdk dart
mixin_bot_sdk_dart #
Dart/Flutter SDK for Mixin Bot
Pub package
Usage #
See test/ for variety of examples.
Quick Start
import 'package:mixin_bot_sdk_dart/mixin_bot_sdk_dart.dart';
final client = Client(
userId: uid,
sessionId: sid,
privateKey: private,
);
try {
final resp = await client.accountApi.getMe();
print(resp.data.toJson());
} catch (e) {
if (e is MixinApiError) {
print(e.error);
}
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.