setAPIkey: Sets an API key for the Google+ API

Description Usage Arguments Value Examples

View source: R/auth.R

Description

This function sets an API key that is then stored invisibly for plusser to use when accessing the Google+ API. A warning is issued if URL escaping the api key alters it, as Google should provide you with a HTML-safe API key in the first place.

Usage

1
setAPIkey(apikey)

Arguments

apikey

The API key as a character string.

Value

Returns TRUE if the key was stored successfully.

Examples

1
setAPIkey("thisIsInvalid")

Example output

[1] TRUE

plusser documentation built on May 2, 2019, 8:17 a.m.