Skip to content

Commit

Permalink
Adds example for In-Page widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
dan11218 committed Nov 8, 2019
1 parent 8c411eb commit 31144f3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions example/examples_websites.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,13 @@


# ---------------------------------------

# in-page is not yet available
# Get all In - Page Widgets for this account
widgets = api.get_resource(api.SCOPE_LIVE, api.PRODUCT_WEBSITES, api.RESOURCE_INPAGE)

print(widgets)

# Get one specific widget
specific_widget = widgets['items'][1]
print(specific_widget)

0 comments on commit 31144f3

Please sign in to comment.