setup: 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://open-platform.theguardian.com.

Note

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

Examples

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

## End(Not run)

news-r/guardian documentation built on July 16, 2019, 3:25 a.m.