apikey: Set IEX cloud api key

Description Usage Arguments Value Examples

View source: R/iexcloud.R

Description

Set IEX cloud api key

Usage

1
apikey(api_key, secret_key, sandbox)

Arguments

api_key

productive or sandbox publishable IEX cloud api key.

secret_key

Optional: productive or sandbox IEX cloud secret key, only required if you want to query credit usage

sandbox

Set to TRUE for sandbox mode, i.e. when api key and/or secret key are used for testing.

Value

sets the api key.

Examples

1
2
3
4
## Not run: 
apikey("your_api_key_here")

## End(Not run)

kermit-t-frog/iexcloudr documentation built on Dec. 21, 2021, 5:25 a.m.