Learn R Programming

plug (version 0.2.0)

plug_list_tokens: List registered tokens for Plug API

Description

This function lists the stored API token and its expiration time for the Plug API. If none are found or an error occurs, it displays a message in English ("No token found for Plug API.") and returns an empty list.

Usage

plug_list_tokens()

Arguments

Value

A named list with token and expiration fields if a token is found, or an empty list if no token is stored.

Examples

Run this code
if (FALSE) {
plug_list_tokens()
}

Run the code above in your browser using DataLab