sst_sa_database_info {serpstatr}R Documentation

List all Serpstat databases

Description

In every request to get data from search analytics API you must set se parameter to specify from what country do you want to get the data. This method returns all acceptable values for se parameter with corresponding country names.

Usage

sst_sa_database_info(api_token, return_method = "list")

Arguments

api_token

(required) Serpstat API token from your profile.

return_method

(optional) Accepted values are 'list' (default) to return data object as list or 'df' to return data object as data.frame.

Value

Returns country name, se parameter value and local search engine domain name for each country.

API docs

Check all the values for request and response fields here.

API rows consumption

0

Examples

## Not run: 
api_token <- Sys.getenv('SERPSTAT_API_TOKEN')
sst_sa_database_info(api_token)$data

## End(Not run)

[Package serpstatr version 0.2.1 Index]