![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@datafire/google_webmasters
Advanced tools
Client library for Search Console API
npm install --save @datafire/google_webmasters
let google_webmasters = require('@datafire/google_webmasters').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
View Google Search Console data for your verified sites.
Exchange the code passed to your redirect URI for an access_token
google_webmasters.oauthCallback({
"code": ""
}, context)
object
string
object
string
string
string
string
string
Exchange a refresh_token for an access_token
google_webmasters.oauthRefresh(null, context)
This action has no parameters
object
string
string
string
string
string
Lists the user's Search Console sites.
google_webmasters.webmasters.sites.list({}, context)
object
string
(values: json): Data format for the response.string
: Selector specifying which fields to include in a partial response.string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.string
: OAuth 2.0 token for the current user.boolean
: Returns response with indentations and line breaks.string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters.string
: Deprecated. Please use quotaUser instead.Removes a site from the set of the user's Search Console sites.
google_webmasters.webmasters.sites.delete({
"siteUrl": ""
}, context)
object
string
: The URI of the property as defined in Search Console. Examples: http://www.example.com/ or android-app://com.example/ Note: for property-sets, use the URI that starts with sc-set: which is used in Search Console URLs.string
(values: json): Data format for the response.string
: Selector specifying which fields to include in a partial response.string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.string
: OAuth 2.0 token for the current user.boolean
: Returns response with indentations and line breaks.string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters.string
: Deprecated. Please use quotaUser instead.Output schema unknown
Retrieves information about specific site.
google_webmasters.webmasters.sites.get({
"siteUrl": ""
}, context)
object
string
: The URI of the property as defined in Search Console. Examples: http://www.example.com/ or android-app://com.example/ Note: for property-sets, use the URI that starts with sc-set: which is used in Search Console URLs.string
(values: json): Data format for the response.string
: Selector specifying which fields to include in a partial response.string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.string
: OAuth 2.0 token for the current user.boolean
: Returns response with indentations and line breaks.string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters.string
: Deprecated. Please use quotaUser instead.Adds a site to the set of the user's sites in Search Console.
google_webmasters.webmasters.sites.add({
"siteUrl": ""
}, context)
object
string
: The URL of the site to add.string
(values: json): Data format for the response.string
: Selector specifying which fields to include in a partial response.string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.string
: OAuth 2.0 token for the current user.boolean
: Returns response with indentations and line breaks.string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters.string
: Deprecated. Please use quotaUser instead.Output schema unknown
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.
google_webmasters.webmasters.searchanalytics.query({
"siteUrl": ""
}, context)
object
string
: The site's URL, including protocol. For example: http://www.example.com/string
(values: json): Data format for the response.string
: Selector specifying which fields to include in a partial response.string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.string
: OAuth 2.0 token for the current user.boolean
: Returns response with indentations and line breaks.string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters.string
: Deprecated. Please use quotaUser instead.Lists the sitemaps-entries submitted for this site, or included in the sitemap index file (if sitemapIndex is specified in the request).
google_webmasters.webmasters.sitemaps.list({
"siteUrl": ""
}, context)
object
string
: The site's URL, including protocol. For example: http://www.example.com/string
: A URL of a site's sitemap index. For example: http://www.example.com/sitemapindex.xmlstring
(values: json): Data format for the response.string
: Selector specifying which fields to include in a partial response.string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.string
: OAuth 2.0 token for the current user.boolean
: Returns response with indentations and line breaks.string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters.string
: Deprecated. Please use quotaUser instead.Deletes a sitemap from this site.
google_webmasters.webmasters.sitemaps.delete({
"siteUrl": "",
"feedpath": ""
}, context)
object
string
: The site's URL, including protocol. For example: http://www.example.com/string
: The URL of the actual sitemap. For example: http://www.example.com/sitemap.xmlstring
(values: json): Data format for the response.string
: Selector specifying which fields to include in a partial response.string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.string
: OAuth 2.0 token for the current user.boolean
: Returns response with indentations and line breaks.string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters.string
: Deprecated. Please use quotaUser instead.Output schema unknown
Retrieves information about a specific sitemap.
google_webmasters.webmasters.sitemaps.get({
"siteUrl": "",
"feedpath": ""
}, context)
object
string
: The site's URL, including protocol. For example: http://www.example.com/string
: The URL of the actual sitemap. For example: http://www.example.com/sitemap.xmlstring
(values: json): Data format for the response.string
: Selector specifying which fields to include in a partial response.string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.string
: OAuth 2.0 token for the current user.boolean
: Returns response with indentations and line breaks.string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters.string
: Deprecated. Please use quotaUser instead.Submits a sitemap for a site.
google_webmasters.webmasters.sitemaps.submit({
"siteUrl": "",
"feedpath": ""
}, context)
object
string
: The site's URL, including protocol. For example: http://www.example.com/string
: The URL of the sitemap to add. For example: http://www.example.com/sitemap.xmlstring
(values: json): Data format for the response.string
: Selector specifying which fields to include in a partial response.string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.string
: OAuth 2.0 token for the current user.boolean
: Returns response with indentations and line breaks.string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters.string
: Deprecated. Please use quotaUser instead.Output schema unknown
object
number
number
number
array
string
number
object
string
string
string
object
array
string
object
string
: [Optional; Default is "auto"] How data is aggregated. If aggregated by property, all data for the same property is aggregated; if aggregated by page, all data is aggregated by canonical URI. If you filter or group by page, choose AUTO; otherwise you can aggregate either by property or by page, depending on how you want your data calculated; see the help documentation to learn how data is calculated differently by site versus by page.array
: [Optional] Zero or more filters to apply to the dimension grouping values; for example, 'query contains "buy"' to see only data where the query string contains the substring "buy" (not case-sensitive). You can filter by a dimension without grouping by it.
array
: [Optional] Zero or more dimensions to group results by. Dimensions are the group-by values in the Search Analytics page. Dimensions are combined to create a unique row key for each row. Results are grouped in the order that you supply these dimensions.
string
string
: [Required] End date of the requested date range, in YYYY-MM-DD format, in PST (UTC - 8:00). Must be greater than or equal to the start date. This value is included in the range.integer
: [Optional; Default is 1000] The maximum number of rows to return. Must be a number from 1 to 5,000 (inclusive).string
: [Optional; Default is "web"] The search type to filter for.string
: [Required] Start date of the requested date range, in YYYY-MM-DD format, in PST time (UTC - 8:00). Must be less than or equal to the end date. This value is included in the range.integer
: [Optional; Default is 0] Zero-based index of the first row in the response. Must be a non-negative number.object
: A list of rows, one per result, grouped by key. Metrics in each row are aggregated for all data grouped by that key either by page or property, as specified by the aggregation type parameter.
string
: How the results were aggregated.array
: A list of rows grouped by the key values in the order given in the query.
object
: List of sitemaps.
array
: Contains detailed information about a specific URL submitted as a sitemap.
object
: List of sites with access level information.
array
: Contains permission level information about a Search Console site. For more information, see Permissions in Search Console.
object
: Contains permission level information about a Search Console site. For more information, see Permissions in Search Console.
string
: The user's permission level for the site.string
: The URL of the site.object
: Contains detailed information about a specific URL submitted as a sitemap.
array
: The various content types in the sitemap.
string
: Number of errors in the sitemap. These are issues with the sitemap itself that need to be fixed before it can be processed correctly.boolean
: If true, the sitemap has not been processed.boolean
: If true, the sitemap is a collection of sitemaps.string
: Date & time in which this sitemap was last downloaded. Date format is in RFC 3339 format (yyyy-mm-dd).string
: Date & time in which this sitemap was submitted. Date format is in RFC 3339 format (yyyy-mm-dd).string
: The url of the sitemap.string
: The type of the sitemap. For example: rssFeed.string
: Number of warnings for the sitemap. These are generally non-critical issues with URLs in the sitemaps.object
: Information about the various content types in the sitemap.
string
: The number of URLs from the sitemap that were indexed (of the content type).string
: The number of URLs in the sitemap (of the content type).string
: The specific type of content in this sitemap. For example: web.FAQs
DataFire integration for Search Console API
The npm package @datafire/google_webmasters receives a total of 2 weekly downloads. As such, @datafire/google_webmasters popularity was classified as not popular.
We found that @datafire/google_webmasters demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.