This SDK uses the Requests library and will work for Python 2 >=2.7.9
and Python 3 >=3.4
.
The generated code might need to be configured with your API credentials. To do that, open the file "Configuration.py" and edit its contents.
The generated code uses Python packages named requests, jsonpickle and dateutil. You can resolve these dependencies using pip ( https://pip.pypa.io/en/stable/ ).
- From terminal/cmd navigate to the root directory of the SDK.
- Invoke
pip install -r requirements.txt
Note: You will need internet access for this step.
After having resolved the dependencies, you can easily use the SDK following these steps.
- Create a "finicityapi_test.py" file in the root directory.
- Use any controller as follows:
from __future__ import print_function
from finicityapi.finicityapi_client import FinicityapiClient
api_client = FinicityapiClient()
controller = api_client.deprecated
response = controller.generate_connect_url_all_types(<required parameters if any>)
print(response.link)
# Or you can print more information
print(vars(response))