Skip to content

Instantly share code, notes, and snippets.

@ccfiel
Created August 16, 2022 08:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ccfiel/f605834b57a5f1641c69db5931291427 to your computer and use it in GitHub Desktop.
Save ccfiel/f605834b57a5f1641c69db5931291427 to your computer and use it in GitHub Desktop.
from sendgrid import SendGridAPIClient
sg = SendGridAPIClient('SG.xxxxxxFLuoyyyyyMEboqvXI')
response = sg.client.contactdb.lists.get()
print(response.status_code)
print(response.body)
print(response.headers)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment