API call using python and requests

Hi,
did anyone manage to make an API call using requests in Python?
and could share working example?
Cant get formating right, always getting 409 error.

Not sure if it is working, but here is an example: