C# Class WebmasterToolsApi.WebmasterTools

Exibir arquivo Open project: alexandernyquist/WebmasterToolsApi

Public Properties

Property Type Description
Token string

Public Methods

Method Description
GetCrawlIssues ( string siteId, int startIndex = 1 ) : dynamic
GetKeywords ( string siteId ) : dynamic

Retrieves the keywords feed for a specific site

https://developers.google.com/webmaster-tools/docs/2.0/developers_guide_protocol#Keywords_retrieving

GetMessages ( ) : dynamic

Retrieves a feed containing all messages in a xml feed

https://developers.google.com/webmaster-tools/docs/2.0/reference#Elements_messages

GetSite ( string siteId ) : dynamic

Retrieves the site feed for a specific site

https://developers.google.com/webmaster-tools/docs/2.0/developers_guide_protocol#AD_Retrieving

GetSitemaps ( string siteId ) : dynamic

Retrieves the sitemaps feed for a specific site

https://developers.google.com/webmaster-tools/docs/2.0/developers_guide_protocol#Sitemaps_About

GetSites ( ) : dynamic

Retrieves a feed containing all sites associated with this account

https://developers.google.com/webmaster-tools/docs/2.0/reference#Feeds_sites

WebmasterTools ( string token ) : System

Initializes a new instance

Private Methods

Method Description
ParseResponse ( string response ) : dynamic

Parses a google feed into a ExpandoObject

UrlEncode ( string value ) : string

Works around the solution where .NET always sends the last slash un-urlencoded. This method urlencodes the string twice

Method Details

GetCrawlIssues() public method

public GetCrawlIssues ( string siteId, int startIndex = 1 ) : dynamic
siteId string
startIndex int
return dynamic

GetKeywords() public method

Retrieves the keywords feed for a specific site
https://developers.google.com/webmaster-tools/docs/2.0/developers_guide_protocol#Keywords_retrieving
public GetKeywords ( string siteId ) : dynamic
siteId string
return dynamic

GetMessages() public method

Retrieves a feed containing all messages in a xml feed
https://developers.google.com/webmaster-tools/docs/2.0/reference#Elements_messages
public GetMessages ( ) : dynamic
return dynamic

GetSite() public method

Retrieves the site feed for a specific site
https://developers.google.com/webmaster-tools/docs/2.0/developers_guide_protocol#AD_Retrieving
public GetSite ( string siteId ) : dynamic
siteId string
return dynamic

GetSitemaps() public method

Retrieves the sitemaps feed for a specific site
https://developers.google.com/webmaster-tools/docs/2.0/developers_guide_protocol#Sitemaps_About
public GetSitemaps ( string siteId ) : dynamic
siteId string
return dynamic

GetSites() public method

Retrieves a feed containing all sites associated with this account
https://developers.google.com/webmaster-tools/docs/2.0/reference#Feeds_sites
public GetSites ( ) : dynamic
return dynamic

WebmasterTools() public method

Initializes a new instance
public WebmasterTools ( string token ) : System
token string A Google GData authorization token
return System

Property Details

Token public_oe property

The current authorization token
public string Token
return string