nobitex 1.0.0-alpha.12 copy "nobitex: ^1.0.0-alpha.12" to clipboard
nobitex: ^1.0.0-alpha.12 copied to clipboard

outdated

Dart wrapper for the Nobitex API

example/main.dart

import 'package:dotenv/dotenv.dart';
import 'package:nobitex/nobitex.dart';

void main() async {
  load();

  var nobitex = Nobitex();
  await nobitex.login(
      username: env['NOBITEX_USERNAME'].toString(),
      password: env['NOBITEX_PASSWORD'].toString());

  var profile = await nobitex.getProfile();
  print(profile);
}