bsve_sha1: Create the BSVE authenication header

Description Usage Arguments Details Value Author(s) Examples

View source: R/bsve_sha1.R

Description

Creates the BSVE authenication header using sha1 from the openssl package

Usage

1
bsve_sha1(api_key, secret_key, email)

Arguments

api_key

API key

secret_key

Secret key

email

email

Details

The API and Secret key are available from the developer My Account page by following link to Manage My Credentials

Value

a vector

Author(s)

Chris Stubben

Examples

1
2
3
4
5
6
 # replace these values
api_key <- "AKcfef08f1-c852-..."
secret_key <-  "mySECRETkey" 
email <-  "my@email"
token <- bsve_sha1(api_key, secret_key, email)
token

cstubben/bsve documentation built on May 14, 2019, 12:25 p.m.