Crate yandex_webmaster_api

Crate yandex_webmaster_api 

Source
Expand description

§Yandex Webmaster API Client

This crate provides a Rust client for the Yandex Webmaster API.

§Example

use yandex_webmaster_api::YandexWebmasterClient;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let client = YandexWebmasterClient::new("your-oauth-token".to_string()).await?;
    println!("User ID: {}", client.user_id());
    Ok(())
}

Structs§

AddHostResponse
Response from adding a new host
AddSitemapResponse
Response from adding a sitemap
BrokenLink
Broken link information
BrokenLinkHistoryPoint
Broken link history point
BrokenLinkHistoryRequest
Broken link history request
BrokenLinkHistoryResponse
Broken link history response
BrokenLinksRequest
Broken links request parameters
BrokenLinksResponse
Broken internal links samples
DiagnosticsResponse
Site diagnostics response
ExcludedPagesStatistics
Excluded pages statistics by status
ExternalLink
External link information
ExternalLinksHistoryPoint
Indexing history point
ExternalLinksHistoryResponse
Indexing history response
ExternalLinksRequest
External links request parameter
ExternalLinksResponse
External backlinks samples
FailInfo
Error description if the VERIFICATION_FAILED status is received.
FullHostInfo
Information about a host from get_host method
GetIndexingSamplesRequest
Get indexing samples request
GetRecrawlTasksRequest
Get recrawl tasks request
GetSearchEventsSamplesRequest
Get search events samples request
GetSearchUrlsSamplesRequest
Get search URLs samples request
GetSitemapsRequest
Request parameters for getting sitemaps
GetUserSitemapsRequest
Request parameters for getting user-added sitemaps
HostInfo
Information about a host
HostSummaryResponse
Site statistics summary
HostVerificationResponse
Host verification status
HostVerificationStatusResponse
Host verification status
HostsResponse
Response containing a list of hosts
ImportantUrl
Important URL information
ImportantUrlHistoryResponse
Important URL history response
ImportantUrlsResponse
Important URLs response
IndexingHistoryPoint
Indexing history point
IndexingHistoryRequest
Indexing history request
IndexingHistoryResponse
Indexing history response
IndexingSample
Indexing sample
IndexingSamplesResponse
Indexing samples response
IndexingStatus
Page indexing status
IndicatorPoint
Single indicator history point
Owner
Owner information
OwnersResponse
List of verified owners
PopularQueriesRequest
Popular queries request parameters
PopularQueriesResponse
Popular search queries response
PopularQuery
Popular query information
QueryAnalyticsRequest
Query analytics request parameters
QueryAnalyticsResponse
Query analytics response
QueryHistoryRequest
Query history request parameters
QueryHistoryResponse
Query history response
RecrawlQuotaResponse
Recrawl quota response
RecrawlResponse
Response from recrawl request
RecrawlTask
Recrawl task information
RecrawlTasksResponse
Recrawl task list response
SearchEventsHistoryResponse
Search events history response
SearchEventsSample
Search events sample
SearchEventsSamplesResponse
Search events samples response
SearchStatus
Page search status
SearchUrlsHistoryPoint
Search URLs history point
SearchUrlsHistoryResponse
Search URLs history response
SearchUrlsSample
Search URLs sample
SearchUrlsSamplesResponse
Search URLs samples response
SiteProblemInfo
Site problem information
SitemapInfo
Sitemap information
SitemapsResponse
List of sitemaps
SqiHistoryRequest
Site quality index history request
SqiHistoryResponse
Site quality index history
SqiPoint
Single SQI history point
UserResponse
Response from the user endpoint
UserSitemapInfo
User-added sitemap information
UserSitemapsResponse
List of user-added sitemaps
YandexWebmasterClient
Client for interacting with the Yandex Webmaster API

Enums§

ApiDeviceTypeIndicator
Device type indicator
ApiExcludedUrlStatus
Excluded URL status
ApiExternalLinksIndicator
Indicators of external links
ApiImportantUrlChangeIndicator
Important URL change indicator
ApiInternalLinksBrokenIndicator
Internal link indicators
ApiQueryIndicator
Query indicators
ApiQueryOrderField
Query sorting order field
ApiSearchEventEnum
Search event type
ApiSiteProblemState
Site problem state
ApiSiteProblemTypeEnum
Site problem type
ApiSitemapSource
Source of the Sitemap file
ApiSitemapType
Type of Sitemap file
ExplicitVerificationType
Verification type
HostDataStatus
Site indexing status
IndexingStatusEnum
Indexing status by HTTP code
RecrawlTaskState
Recrawl task state (reindexing request status)
SiteProblemSeverityEnum
Site problem severity
VerificationFailReason
Verification failure reason
VerificationState
Verification state
VerificationType
Verification type
YandexWebmasterError
Errors that can occur when interacting with the Yandex Webmaster API

Type Aliases§

Result
Result type alias for Yandex Webmaster API operations