Skip to content

Commit 9656bf9

Browse files
authored
Update list-get-example-1.6.x.py (TwilioDevEd#908)
* Update list-get-example-1.6.x.py
1 parent d1c8d17 commit 9656bf9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

rest/usage-records/list-get-example-1/list-get-example-1.6.x.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@
1111

1212
# A list of record objects with the properties described above
1313
records = client.usage.records.last_month.list()
14+
15+
16+
# Print the JSON object
17+
for record in records:
18+
print(record.start_date, record.end_date, record.category, record.count,
19+
record.count_unit, record.price, record.price_unit)

0 commit comments

Comments
 (0)