Skip to content
This repository has been archived by the owner on Jan 17, 2021. It is now read-only.

todo-devs/nauta_sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nauta SDK

import 'dart:io';

import 'package:nauta_sdk/nauta_sdk.dart';

void main(List<String> args) async {
  var client = NautaClient();

  await client.preLogin();
  await client.saveCaptcha(filePath: 'captcha.png');

  print('CAPTCHA: ');
  String captcha = stdin.readLineSync();

  try {
    await client.login('usuario@nauta.com.cu', 'Contraseña', captcha);
    print('Usuario: ${client.user}');
    print('Fecha de bloqueo: ${client.blockDate}');
    print('Fecha de eliminación: ${client.delDate}');
    print('Tipo de cuenta: ${client.accountType}');
    print('Tipo de servicio: ${client.serviceType}');
    print('Saldo disponible: ${client.credit}');
    print('Tiempo disponible: ${client.time}');
    print('Cuenta de correo: ${client.mailAccount}');
  } catch (e) {
    print(e);
  }
}

Basado en la lib selibrary de marilasoft

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages