# Instead of using curl commands, use requests: # Convert your curl command with this: https://curlconverter.com/#python import requests response = request.get(...)