Unofficial CLI Implementation for Stashaway
Please do note that this is the Unofficial Implementation of Stashaway
A simple way to preview, store, monitor your balance, securities easily.
This application only works for Stashaway Malaysia.
This application cannot be automated, and need human involvement daily.
This are the things you are required to run this application.
Luckily, you can just install the requirements provided
pip install -r requirements.txt
- Clone the repo
git clone https://github.com/liej6799/unofficial_stash
- Install the requirement packages
pip install -r requirements.txt
This is how to run the application
When you first install please login
python main.py login
Input
Email: [email protected]
Password: (hidden)
After success login, you will get this output:
The credentials provided is correct, code has been sent to this number: %{number}.
Now you need to run the 2fa module
python main.py validate-2fa
Input
Code from SMS: 123456
Run this module to get current data from the api, make sure run this daily
As currently the bearer provided expired quickly, and need to fill in 2fa sms everytime, it is not possible to run this tool as a automation.
As result, this command must be manually run everyday.
Simply run:
python main.py daily
Then it will populate the database with latest data.
When all the hardwork has been done, you can just run this module to display your data gathered.
python main.py display-all
Using Click library to create cli application, you can view all the command available
python main.py