The Fintecture Python library provides convenient access to the Fintecture API from applications written in the Python language. It includes a pre-defined set of classes for API resources that initialize themselves dynamically from API responses which makes it compatible with a wide range of versions of the Fintecture API.
See the Python API docs.
You don't need this source code unless you want to modify the package. If you just want to use the package, just run:
pip install --upgrade fintecture
Install from source with:
python setup.py install
- Python 2.7+ or Python 3.4+ (PyPy supported)
The library needs to be configured with your application identifier, the secret and private keys which is
available in your Fintecture Developer Console.
For instance, set fintecture.app_id
to its value:
import fintecture
fintecture.app_id = "39b1597f-b7dd..."
# list application information
resp = fintecture.Application.retrieve()
attributes = resp.data.attributes
# print the description of the application
print(attributes.description)
# print if application supports AIS and PIS scope
print("Supports AIS scope: %r" % attributes.scope.ais)
print("Supports PIS scope: %r" % attributes.scope.pis)