Learn R Programming

serpstatr (version 0.3.0)

sst_sa_stats: 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)

Value

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

Serpstat plugin limits.

Arguments

api_token

(required) Serpstat API token from your profile.

API credits consumption

0

Examples

Run this code
if (FALSE) {
api_token <- Sys.getenv('SERPSTAT_API_TOKEN')
sst_sa_stats(api_token)$summary_info$left_lines
}

Run the code above in your browser using DataLab