Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 678 Bytes

sites.md

File metadata and controls

36 lines (22 loc) · 678 Bytes

Sites

sites_api = client.sites

Class Name

SitesApi

List Sites

Lists the Square Online sites that belong to a seller.

Note: Square Online APIs are publicly available as part of an early access program. For more information, see Early access program for Square Online APIs.

def list_sites(self)

Response Type

List Sites Response

Example Usage

result = sites_api.list_sites()

if result.is_success():
    print(result.body)
elif result.is_error():
    print(result.errors)