set_api_token {OpenMindat}R Documentation

set_api_token

Description

set the token of current environment

Usage

set_api_token (api_token)

Arguments

api_token

string. The token of mindat api.

Value

No return value. The api_token will be cached. Users can retrieve the value by calling mindat_cache_get('api_token').

Examples

set_api_token("9ce67655d74bcd981e937be80dcea9cb")

[Package OpenMindat version 1.0.0 Index]