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 your 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 site's URL, including protocol, for example 'http://www.example.com/' (required)
get(siteUrl)
Retrieves information about specific site.
Args:
siteUrl: string, The site's URL, including protocol, for example 'http://www.example.com/' (required)
Returns:
An object of the form:
{ # Access level information for a Webmaster Tools site.
"permissionLevel": "A String", # The user's permission level for the site.
"siteUrl": "A String", # The URL of the site.
}
list()
Lists your Webmaster Tools sites.
Args:
Returns:
An object of the form:
{ # List of sites with access level information.
"siteEntry": [ # Access level information for a Webmaster Tools site.
{ # Access level information for a Webmaster Tools site.
"permissionLevel": "A String", # The user's permission level for the site.
"siteUrl": "A String", # The URL of the site.
},
],
}