sst_sa_stats: Get the number of API rows left

View source: R/search_analytics.R

sst_sa_statsR Documentation

Get the number of API rows left

Description

With most API request you spend some amount of API rows. The total amount of API rows available for you is based on your plan. Use this method to control the amount of API rows left.

Usage

sst_sa_stats(api_token)

Arguments

api_token

(required) Serpstat API token from your profile.

Value

Returns a number of API rows left. Also returns some additional information about user and Serpstat plugin limits.

API rows consumption

0

Examples

## Not run: 
api_token <- Sys.getenv('SERPSTAT_API_TOKEN')
sst_sa_stats(api_token)$summary_info$left_lines

## End(Not run)

serpstatr documentation built on Sept. 9, 2023, 5:06 p.m.