get_reddit: GET method for the reddit API

Description Usage Arguments Value

View source: R/utils.R

Description

This is an internal function.

Usage

1
get_reddit(accesstoken, link, verbose, retry)

Arguments

accesstoken

The token for the GET method

link

The link used in the GET method

verbose

Boolean. A logical flag whether information about the data extraction should be printed to the console.

retry

Boolean. A logical flag whether a failed api request should be retried if it fails.Requests will be tried up to three times with varying time intervals between requests.

Value

A JSON element


jfeldhege/redditoR documentation built on April 2, 2020, 9:42 p.m.