Skip to content

Commit 31144f3

Browse files
authored
Adds example for In-Page widgets
1 parent 8c411eb commit 31144f3

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

example/examples_websites.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,13 @@
3131

3232

3333
# ---------------------------------------
34+
3435
# in-page is not yet available
36+
# Get all In - Page Widgets for this account
37+
widgets = api.get_resource(api.SCOPE_LIVE, api.PRODUCT_WEBSITES, api.RESOURCE_INPAGE)
38+
39+
print(widgets)
40+
41+
# Get one specific widget
42+
specific_widget = widgets['items'][1]
43+
print(specific_widget)

0 commit comments

Comments
 (0)