SearchConsole
import { SearchConsole } from "https://googleapis.deno.dev/v1/searchconsole:v1.ts";
The Search Console API provides access to both Search Console data (verified users only) and to public information on an URL basis (anyone)
§Methods
Query your data with filters and parameters that you define. Returns zero or more rows grouped by the row keys that you define. You must define a date range of one or more days. When date is one of the group by values, any days without data are omitted from the result list. If you need to know which days have data, issue a broad date range query grouped by date for any metric, and see which day rows are returned.
The site's URL, including protocol. For example: http://www.example.com/
.
Deletes a sitemap from the Sitemaps report. Does not stop Google from crawling this sitemap or the URLs that were previously crawled in the deleted sitemap.
The URL of the actual sitemap. For example: http://www.example.com/sitemap.xml
.
The site's URL, including protocol. For example: http://www.example.com/
.
Retrieves information about a specific sitemap.
The URL of the actual sitemap. For example: http://www.example.com/sitemap.xml
.
The site's URL, including protocol. For example: http://www.example.com/
.
Lists the sitemaps-entries submitted for
this site, or included in the sitemap index file (if sitemapIndex
is
specified in the request).
The site's URL, including protocol. For example: http://www.example.com/
.
Submits a sitemap for a site.
The URL of the actual sitemap. For example: http://www.example.com/sitemap.xml
.
The site's URL, including protocol. For example: http://www.example.com/
.
Adds a site to the set of the user's sites in Search Console.
The URL of the site to add.
Removes a site from the set of the user's Search Console sites.
The URI of the property as defined in Search Console. Examples: http://www.example.com/
or sc-domain:example.com
.
Lists the user's Search Console sites.
Index inspection.
Runs Mobile-Friendly Test for a given URL.