mintapi / mintapi

an unofficial screen-scraping "API" for Mint.com
MIT License
1.21k stars 275 forks source link

[FEATURE] - Support multiple data types from CLI #450

Closed burkematthew closed 2 years ago

burkematthew commented 2 years ago

The CLI has been refactored to support exporting multiple data types in one command. When exporting multiple data types, you can either send it directly to the stdout or you can export to a data file. What MintAPI will do with your specified filename is add a suffix based on the type of data you are exporting. The following table outlines the option selected and its corresponding suffix:

Option Suffix
accounts account
budgets budget
transactions transaction
categories category
investments investment
net-worth net_worth
credit-score credit_score
credit-report credit_report

For example, if you specify current as your filename, format as csv, and you export account and transaction, then you will receive two files: current_account.csv and current_transaction.csv.

burkematthew commented 2 years ago

@mrooney let me know what you think!

felciano commented 2 years ago

@mrooney should this excellent merge have also included a version number bump to 2.0, per the README?