![Logo](https://raw.githubusercontent.com/fuchstim/mint-client/main/images/logotype.png)
mint-client is an unofficial TypeScript library facilitating authentication and requests to the Intuit Mint platform
Explore the docs »
Report Bug
·
Request Feature
To install the mint-client library, run npm install --save @ftim/mint-client
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.
- Generalize OTPProvider Interface
- Implement retrieving history data (net worth, spending)
- Implement retrieving budget statistics
- Implement logout method