sst_return_check {serpstatr} | R Documentation |
Preprocess the API response
Description
Every API call returns a JSON object. This object is transformed to a list. Depending on return_method parameter the data element of this list will be a list or data.frame.
Usage
sst_return_check(response_content, return_method)
Arguments
response_content |
The result of |
return_method |
Accepted values are 'list' to return data object as list or 'df' to return data object as data.frame. |
Value
response_content with a data object as list or data.frame.
[Package serpstatr version 0.2.1 Index]