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__ importprint_functionfromfinicityapi.finicityapi_clientimportFinicityapiClientapi_client=FinicityapiClient()
controller=api_client.deprecatedresponse=controller.generate_connect_url_all_types(<requiredparametersifany>)
print(response.link)
# Or you can print more informationprint(vars(response))