Adds a site to the set of the user's sites in Webmaster Tools.
Removes a site from the set of the user's Webmaster Tools sites.
Retrieves information about specific site.
Lists the user's Webmaster Tools sites.
add(siteUrl)
Adds a site to the set of the user's sites in Webmaster Tools. Args: siteUrl: string, The URL of the site to add. (required)
delete(siteUrl)
Removes a site from the set of the user's Webmaster Tools sites. Args: siteUrl: string, The URI of the property as defined in Search Console. Examples: http://www.example.com/ or android-app://com.example/ (required)
get(siteUrl)
Retrieves information about specific site. Args: siteUrl: string, The URI of the property as defined in Search Console. Examples: http://www.example.com/ or android-app://com.example/ (required) Returns: An object of the form: { # Contains permission level information about a Webmaster Tools site. For more information, see Permissions in Webmaster Tools. "permissionLevel": "A String", # The user's permission level for the site. "siteUrl": "A String", # The URL of the site. }
list()
Lists the user's Webmaster Tools sites. Args: Returns: An object of the form: { # List of sites with access level information. "siteEntry": [ # Contains permission level information about a Webmaster Tools site. For more information, see Permissions in Webmaster Tools. { # Contains permission level information about a Webmaster Tools site. For more information, see Permissions in Webmaster Tools. "permissionLevel": "A String", # The user's permission level for the site. "siteUrl": "A String", # The URL of the site. }, ], }