sparkpost

How to access API data using authentication type 'API key' in Python?

How to access API data using authentication type 'API key' in Python? Question: I need to access Sparkpost data using their API. They do so via Authentication type = ‘API key’ instead of Basic Auth. I can do Basic Auth in Python using the code below. import requests import json import requests from requests.auth import …

Total answers: 1