File tree Expand file tree Collapse file tree 3 files changed +5
-10
lines changed
Expand file tree Collapse file tree 3 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 11Current Version
22 -
33
4- 2.4.0 July 18, 2017
5- - Add customers#create
6- - Add customers#get
7-
842.3.0 June 22, 2017
95 - Add api_version to Client config
106 - Add tox
Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ Delete
237237 # <class pybutton.Response >
238238
239239 Customers
240- ~~~~~~
240+ ~~~~~~~~~
241241
242242Create
243243''''''
@@ -254,11 +254,10 @@ Create
254254 response = client.customers.create({
255255 ' id' : ' customer-1234' ,
256256 ' email_sha256' : hashed_email,
257- ' advertising_id' : ' 6E82078A-8146-4BA4-AC5B-76104861E61A' ,
258257 })
259258
260259 print (response)
261- # <class pybutton.Response id: ' customer-1234' , ...>
260+ # <class pybutton.Response id: customer-1234, ...>
262261
263262 Get
264263'''
@@ -269,10 +268,10 @@ Get
269268
270269 client = Client(' sk-XXX' )
271270
272- response = client.customers.get(' customer-XXX ' )
271+ response = client.customers.get(' customer-1234 ' )
273272
274273 print (response)
275- # <class pybutton.Response id: customer-XXX , segments:[] , ...>
274+ # <class pybutton.Response id: customer-1234 , ...>
276275
277276 Response
278277--------
Original file line number Diff line number Diff line change 1- VERSION = '2.4 .0'
1+ VERSION = '2.3 .0'
You can’t perform that action at this time.
0 commit comments