CLI Tool for the Prometeo Open Banking API
Project description
prometeo-cli
CLI Tool for communicating to banking institutions through Prometeo Open Banking API.
Setup
The CLI allows you to configure multiple institution's accounts and environments depending if you are working with production, testing or sandbox.
- First of all set the environment variable
PROMETEO_ENVIRONMENTwith your working environment - Install the requirements with
pip install -r requirements.txt - Run it with
python -m pmo COMMAND [ARGS]
When running it, the script will check if the directory ~/.prometeo/ and the file ~/.prometeorc exists.
The ~/.prometeorc file stores the api session key.
The ~/.prometeo/ directory stores two configurations files:
configuration.inistores the different environments' cnfigurationcredentials.inistores the credentials of the institutions (The passwords are encrypted :stuck_out_tongue_winking_eye:)
Available commands
config [OPTIONS]
There are two options: --credential for configuring a new set of credentials, and the --environment for a new env.
The environment must match with the one you setted previously in the PROMETEO_ENVIRONMENT variable.
login [OPTIONS]
Used for starting a new session
Options:
--providerspecifies the set of credentials to user (You can set a default provider with thePROMETEO_PROVIDERenvironment variable)--interactiveto login interactively :smiley:
logout
Terminates the current session
accounts
Lists your banking accounts' details
cards
List your credit cards' details
movements [OPTIONS]
Lists your movements
Options All the options are required
(-a, --account) or (-c --card)sets the origin of the movements(-cu, --currency)As the credit cards movements might be in different currency you must specify one in ISO 4217--start-datesets the start of the range of the movements to get in%Y-%m-%dformat--end-datesets the end of the range of the movements to get in%Y-%m-%dformat
providers
Lists the available providers and their information (id, country and name) prometeo-cli
CLI Tool for communicating to bankings institutions through Prometeo Open Banking API.
Setup
The CLI allows you to configure multiple institutions accounts and environments depending if you are working with production, testing or sandbox.
- First of all set the environment variable
PROMETEO_ENVIRONMENTwith your working environment - Run it with
python -m pmo COMMAND [ARGS]
When running it the script will check if the directory ~/.prometeo/ and the file ~/.prometeorc exists.
The ~/.prometeorc file stores the api session key.
In the ~/.prometeo/ directory stores two configurations files:
configuration.inistores the different environments configurationcredentials.inistores the credentials of the institutions (The passwords are encrypted :stuck_out_tongue_winking_eye:)
Available commands
config [OPTIONS]
There are two options --credential for configuring a new set of credentials, and the --environment for a new env.
login [OPTIONS]
Used for starting a new session
Options:
--providerspecifies the set of credentials to user (You can set a default provider with thePROMETEO_PROVIDERenvironment variable)--interactiveto login interactively :smiley:
logout Terminates the current session
accounts Lists your banking accounts details
cards List your credit cars details
movements [OPTIONS] Lists your movements
Options All the options are required
(-a, --account) or (-c --card)sets the origin of the movements(-cu, --currency)As the credit cards movements might be in different currency you must specify one in ISO 4217--start-datesets the start of the range of the movements to get in%Y-%m-%dformat--end-datesets the end of the range of the movements to get in%Y-%m-%dformat
providers List the available providers and their information (id, country and name)
prometeo-cli
CLI Tool for communicating to banking institutions through Prometeo Open Banking API.
Setup
The CLI allows you to configure multiple institution's accounts and environments depending if you are working with production, testing or sandbox.
- First of all set the environment variable
PROMETEO_ENVIRONMENTwith your working environment - Install the requirements with
pip install -r requirements.txt - Run it with
python -m pmo COMMAND [ARGS]
When running it, the script will check if the directory ~/.prometeo/ and the file ~/.prometeorc exists.
The ~/.prometeorc file stores the api session key.
The ~/.prometeo/ directory stores two configurations files:
configuration.inistores the different environments' cofigurationcredentials.inistores the credentials of the institutions (The passwords are encrypted :stuck_out_tongue_winking_eye:)
Available commands
config [OPTIONS]
There are two options: --credential for configuring a new set of credentials, and the --environment for a new env.
login [OPTIONS]
Used for starting a new session
Options:
--providerspecifies the set of credentials to user (You can set a default provider with thePROMETEO_PROVIDERenvironment variable)--interactiveto login interactively :smiley:
logout
Terminates the current session
accounts
Lists your banking accounts' details
cards
List your credit cards' details
movements [OPTIONS]
Lists your movements
Options All the options are required
(-a, --account) or (-c --card)sets the origin of the movements(-cu, --currency)As the credit cards movements might be in different currency you must specify one in ISO 4217--start-datesets the start of the range of the movements to get in%Y-%m-%dformat--end-datesets the end of the range of the movements to get in%Y-%m-%dformat
providers
Lists the available providers and their information (id, country and name) o
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file prometeo-cli-1.0.1.tar.gz.
File metadata
- Download URL: prometeo-cli-1.0.1.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72d3580aff0ba67357fee555b4351e420a68c9347c51a47bf437b6465ee9fbee
|
|
| MD5 |
2c192e1ff7e4d919245cdf1f65454f85
|
|
| BLAKE2b-256 |
401393a10ed56ae7fa74b14871524006da985e27801f10c88ab15c3f783bbca6
|
File details
Details for the file prometeo_cli-1.0.1-py3-none-any.whl.
File metadata
- Download URL: prometeo_cli-1.0.1-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66e6ffcc99d3bd1b298a17a0d1fcde7a180f3111ebf13c3bc6f9714a0f672298
|
|
| MD5 |
438215d5a2db74141f6a3f5db93834f6
|
|
| BLAKE2b-256 |
8d4912da118b3a4a1fed025fad61b7bcec901d111107ef842b09b669fdd43ade
|