sbg_set_env {sevenbridges} | R Documentation

## Set authentication environment variables for Seven Bridges API

### Description

Set authentication environment variables for Seven Bridges API

### Usage

    sbg_set_env(url = NULL, token = NULL)

### Arguments

`url` | Base URL for API.
`token` | Your authentication token.

### Value

set two environment variables for authentication

### Examples

    # set and get environment variables for CGC
    token <- "your_token"
    ## Not run:
    sbg_set_env("https://cgc-api.sbgenomics.com/v2", token)
    sbg_get_env("SB_API_ENDPOINT")
    sbg_get_env("SB_AUTH_TOKEN")
    ## End(Not run)

[Package sevenbridges version 1.17.1 Index]