mixin_bot_sdk_dart 1.2.6 mixin_bot_sdk_dart: ^1.2.6 copied to clipboard
Mixin Messenger API for Dart/Flutter, build decentrialized applications on Mixin
mixin_bot_sdk_dart #
Dart/Flutter SDK for Mixin Bot
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);
}
}