Skip to content
This repository was archived by the owner on Jun 11, 2024. It is now read-only.

Commit cfa7542

Browse files
committed
doc updates
1 parent 21324e8 commit cfa7542

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ Example Usage:
1010
1111
from atomx import Atomx
1212
13-
api = Atomx('daniel@atomx.com', 'password')
14-
creatives = api.get('Creatives', limit=10)
13+
atomx = Atomx('daniel@atomx.com', 'password')
14+
creatives = atomx.get('Creatives', limit=10)
1515
1616
for creative in creatives:
17-
print('Creative ID: {c.id}, state: {c.state},'
17+
print('Creative ID: {c.id}, state: {c.state}, '
1818
'name: {c.name}, title: {c.title}'.format(c=creative))
1919
2020
creative = creatives[0]
2121
creative.title = 'shiny new title'
22-
creative.save()
22+
creative.update()
2323
2424
2525
Installation

0 commit comments

Comments
 (0)