2👍
✅
As I understand from the api documentation, you should send a application code and get the token. So, let authorization_code
be your app code.
import requests
r = requests.post("https://helios.zportal.nl/api/v2/oauth/token", data={'grant_type': 'authorization_code', 'code': *Authorization Code*})
r.text
get you the responded text from the server.
Source:stackexchange.com