File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -99,14 +99,27 @@ print(response.body)
9999print (response.headers)
100100```
101101
102- ## General v3 Web API Usage
102+ ## General v3 Web API Usage (With Fluent Interface)
103103
104104``` python
105105import sendgrid
106106import os
107107
108108sg = sendgrid.SendGridAPIClient(apikey = os.environ.get(' SENDGRID_API_KEY' ))
109- response = sg.client.api_keys.get()
109+ response = sg.client.suppression.bounces.get()
110+ print (response.status_code)
111+ print (response.body)
112+ print (response.headers)
113+ ```
114+
115+ ## General v3 Web API Usage (Without Fluent Interface)
116+
117+ ``` python
118+ import sendgrid
119+ import os
120+
121+ sg = sendgrid.SendGridAPIClient(apikey = os.environ.get(' SENDGRID_API_KEY' ))
122+ response = sg.client._(" suppression/bounces" ).get()
110123print (response.status_code)
111124print (response.body)
112125print (response.headers)
You can’t perform that action at this time.
0 commit comments