Deepl.Usage (deepl v0.1.2)

View Source

Module for retrieving usage and quota for the current billing period with the DeepL API.

For more information, refer to the retrieve usage and quota documentation.

Summary

Functions

Retrieve current usage and quota information.

Functions

get()

(since 0.0.1)
@spec get() :: {:ok, map()} | {:error, String.t()}

Retrieve current usage and quota information.

Examples

iex> Deepl.Usage.get()
%{"character_count": 100, "character_limit": 500000}