#first you need to import requests module
import requests
#need to create an endpoint (api) what you'll work with it.
#forexample:
PIXELA_ENDPOINT = "https://pixe.la/v1/users"
#need to create a parameters(dict) what you will give to get a request
#IMPORTANT! You must to read the api documentation
parameters = {
"apiKey": "asd"
"optionalData": "dsa"
}
response = requests.get(url=PIXELA_ENDPOINT,params=parameters)
#if you could, create a json format, or text
response.json()
print(response)
or
print(response.text)