rb_get_token: Create or get an active API token for use in downloading from...

View source: R/token.R

rb_get_tokenR Documentation

Create or get an active API token for use in downloading from the API

Description

The API token mechanism that refine.bio uses is relatively simple. There is no "authentication" per se, just an acknowledgement of agreement to terms and conditions of use. The token is only needed for download of data. Other functionality will work fine without it.

Usage

rb_get_token()

Details

Upon calling this function the first time in a session, if a token is successfully obtained and activated, it will be stored in the session in memory. Further calls will use the cached value. A new R session will result in a new API token.


seandavi/RefineBio documentation built on June 1, 2025, 4:10 p.m.