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§
- AddHost
Response - Response from adding a new host
- AddSitemap
Response - Response from adding a sitemap
- Broken
Link - Broken link information
- Broken
Link History Point - Broken link history point
- Broken
Link History Request - Broken link history request
- Broken
Link History Response - Broken link history response
- Broken
Links Request - Query analytics request parameters
- Broken
Links Response - Broken internal links samples
- Diagnostics
Response - Site diagnostics response
- Excluded
Pages Statistics - Excluded pages statistics by status
- External
Link - External link information
- External
Links History Point - Indexing history point
- External
Links History Response - Indexing history response
- External
Links Request - External links request parameter
- External
Links Response - External backlinks samples
- Fail
Info - Error description if the VERIFICATION_FAILED status is received.
- Full
Host Info - Information about a host from
get_hostmethod - GetIndexing
Samples Request - Get indexing samples request
- GetRecrawl
Tasks Request - Get recrawl tasks request
- GetSearch
Events Samples Request - Get search events samples request
- GetSearch
Urls Samples Request - Get search URLs samples request
- GetSitemaps
Request - Request parameters for getting sitemaps
- GetUser
Sitemaps Request - Request parameters for getting user-added sitemaps
- Host
Info - Information about a host
- Host
Summary Response - Site statistics summary
- Host
Verification Response - Host verification status
- Host
Verification Status Response - Host verification status
- Hosts
Response - Response containing a list of hosts
- Important
Url - Important URL information
- Important
UrlHistory Response - Important URL history response
- Important
Urls Response - Important URLs response
- Indexing
History Point - Indexing history point
- Indexing
History Request - Indexing history request
- Indexing
History Response - Indexing history response
- Indexing
Sample - Indexing sample
- Indexing
Samples Response - Indexing samples response
- Indexing
Status - Page indexing status
- Indicator
Point - Single indicator history point
- Owner
- Owner information
- Owners
Response - List of verified owners
- Popular
Queries Request - Popular queries request parameters
- Popular
Queries Response - Popular search queries response
- Popular
Query - Popular query information
- Query
Analytics Request - Query analytics request parameters
- Query
Analytics Response - Query analytics response
- Query
History Request - Query history request parameters
- Query
History Response - Query history response
- Recrawl
Quota Response - Recrawl quota response
- Recrawl
Response - Response from recrawl request
- Recrawl
Task - Recrawl task information
- Recrawl
Tasks Response - Recrawl task list response
- Search
Events History Response - Search events history response
- Search
Events Sample - Search events sample
- Search
Events Samples Response - Search events samples response
- Search
Status - Page search status
- Search
Urls History Point - Search URLs history point
- Search
Urls History Response - Search URLs history response
- Search
Urls Sample - Search URLs sample
- Search
Urls Samples Response - Search URLs samples response
- Site
Problem Info - Site problem information
- Sitemap
Info - Sitemap information
- Sitemaps
Response - List of sitemaps
- SqiHistory
Request - Site quality index history request
- SqiHistory
Response - Site quality index history
- SqiPoint
- Single SQI history point
- User
Response - Response from the user endpoint
- User
Sitemap Info - User-added sitemap information
- User
Sitemaps Response - List of user-added sitemaps
- Yandex
Webmaster Client - Client for interacting with the Yandex Webmaster API
Enums§
- ApiDevice
Type Indicator - Device type indicator
- ApiExcluded
UrlStatus - Excluded URL status
- ApiExternal
Links Indicator - Indicators of external links
- ApiImportant
UrlChange Indicator - Important URL change indicator
- ApiInternal
Links Broken Indicator - Internal link indicators
- ApiQuery
Indicator - Query indicators
- ApiQuery
Order Field - Query sorting order field
- ApiSearch
Event Enum - Search event type
- ApiSite
Problem State - Site problem state
- ApiSite
Problem Type Enum - Site problem type
- ApiSitemap
Source - Source of the Sitemap file
- ApiSitemap
Type - Type of Sitemap file
- Explicit
Verification Type - Verification type
- Host
Data Status - Site indexing status
- Indexing
Status Enum - Indexing status by HTTP code
- Recrawl
Task State - Recrawl task state (reindexing request status)
- Site
Problem Severity Enum - Site problem severity
- Verification
Fail Reason - Verification failure reason
- Verification
State - Verification state
- Verification
Type - Verification type
- Yandex
Webmaster Error - Errors that can occur when interacting with the Yandex Webmaster API
Type Aliases§
- Result
- Result type alias for Yandex Webmaster API operations