usage2 {deeplr} | R Documentation |
Retrieve Usage Data from a DeepL API Free Account
Description
usage2
returns the character usage and configured character limit for the current billing period
of a DeepL API Free account.
Usage
usage2(auth_key)
Arguments
auth_key |
Character. Your DeepL API authentication key. If missing, the function uses
the |
Details
To use this function, you must register for a DeepL API Free account at https://www.deepl.com/pro#developer. The Free plan includes up to 500,000 characters per month.
Value
A named list or structured object containing:
-
character_count
– Number of characters used in the current billing period. -
character_limit
– Total character limit for the current billing period.
References
DeepL API Documentation — Usage
Examples
## Not run:
usage2()
## End(Not run)