Building the client library requires:
- Python 3.0 or higher Installation
⚠️ If you also have Python2 installed, set a new path for the PATH environment to the Python folder in "Program Files" that points to the newest Python3 version. Guides for creating and setting a new path: Windows / Unix / MacOS.
To copy the client to your computer copy link of the repository, open Command Prompt, go to the location where project will be copied and execute git clone command:
git clone https://github.com/kyriba/dev-portal-basic-Python-Postman-App-sample.git
Open the project folder via command prompt, for example:
cd dev-portal-basic-Python-Postman-App-sample
Select the desired Collection in Postman, authenticate through "Get token." request and run the request that you want to provide in the Application. If the request works, copy code from Postman:
In "Code snippet", proceed to the dropdown list with different programming languages, where "cURL" is set by default, and choose "Python - http.client" from the list. There, copy the snippet without the last line to clipboard:
Open the .../app.py file and input your piece of code:
Run the project in Terminal in the root folder of cloned app:
python app.py
If everything was done accordingly with provided steps, you will get the result printed in the command prompt.