1.0.26 • Published 2 years ago

@ftim/mint-client v1.0.26

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Installation

To install the mint-client library, run npm install --save @ftim/mint-client

Usage

Example:

import MintClient, { EOTPType, OTPProviders } from '@ftim/mint-client';

const client = new MintClient({
  username: 'supersaver',
  password: 'supersecurepassword',
  otpProviders: {
    [EOTPType.CAPTCHA_TOKEN]: new OTPProviders.CaptchaOTPProvider(),
    [EOTPType.TOTP]: new OTPProviders.TOTPProvider('TOTPSECRET'),
    [EOTPType.SMS_OTP]: new OTPProviders.UserInputOTPProvider('Please enter your SMS OTP token:'),
    [EOTPType.EMAIL_OTP]: new OTPProviders.EmailOTPProvider({
      host: 'imap.gmail.com',
      port: 993,
      auth: {
        user: 'supersaver@gmail.com',
        pass: 'supersecurepassword',
      },
    }),
  },
});

See here for all available client methods.

Roadmap

  • Generalize OTPProvider Interface
  • Implement retrieving history data (net worth, spending)
  • Implement retrieving budget statistics
  • Implement logout method
1.0.26

2 years ago

1.0.25

2 years ago

1.0.24

2 years ago

1.0.23

2 years ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago