Here you will find a collection of CLI commands that take a link_id
, fetch a product and print the response to your
console.
Choose the language for your CLI:
- python: Uses MoneyKit's Python SDK
- ruby: Uses MoneyKit's Ruby SDK
Copy .env.sample
to fetching_products/.env
.
Set your MONEYKIT_CLIENT_ID
and MONEYKIT_CLIENT_SECRET
in the .env
file.
We recommend you use your sandbox keys to play around with test institutions.
You must have an already connected link_id
to be able to use this CLI too. Use our create_link
example to create one
if you don't already have a link_id
.
A Makefile
is set up for convience of running different langauge targets in Docker.
make python
make ruby
For example, To run the python CLI locally you can:
cd fetch_products/python
poetry install
./cli --help
./cli get-accounts <link_id>
./cli get-transactions <link_id> --start-date <date> --end-date <date>
cd fetch_products/ruby
bundle install
./cli --help
./cli get-accounts <link_id>
./cli get-transactions <link_id> --start-date <date> --end-date <date>
./cli --help
./cli state <link_id>
./cli refresh <product> <link_id>
./cli get-accounts <link_id>
./cli get-account-numbers <link_id>
./cli get-identity <link_id>
./cli get-transactions <link_id> --start-date <date> --end-date <date>
./cli get-transactions-diff <link_id> [--cursor <cursor>]
./cli disconnect <link_id>