authenticate: Setup

Description Usage Arguments Note Examples

Description

Setup your session, all subsequent calls will be done using the API key.

Usage

1

Arguments

key

Your API key, freely available at https://www.accunewsapp.com/api/v1/docs/#authentication.

Note

You can specify ACCUNEWS_API_KEY as environment variable, likely in your .Renviron file.

Examples

1
2
3
4
## Not run: 
accunews_key("xXXxxXxXxXXx")  

## End(Not run)

news-r/accunews documentation built on Feb. 27, 2020, 3:40 p.m.