genderapi_usage: Read credit usage (free)

View source: R/account.R

genderapi_usageR Documentation

Read credit usage (free)

Description

Sends GET /usage. This read is not billed. data holds remaining_credits (can be negative or NULL), expires_at, and for the IP trial resets_at, limit and period_seconds; meta$access$mode shows whether the key or the IP trial was used.

Usage

genderapi_usage(client = genderapi_client())

Arguments

client

A genderapi_client().

Value

A genderapi_usage list with data and meta.

Examples

## Not run: 
u <- genderapi_usage()
u$data$remaining_credits
u$meta$access$mode

## End(Not run)

genderapi documentation built on Oct. 1, 2026, 5:13 p.m.