# `YouTubeTranscriptNet.Account`
[🔗](https://github.com/youtube-transcript/youtubetranscript-elixir/blob/v0.1.0/lib/youtubetranscript_net/account.ex#L1)

Credits and limits of the account the API key belongs to.

# `usage`

```elixir
@spec usage(YouTubeTranscriptNet.Client.t()) ::
  {:ok, map()} | {:error, YouTubeTranscriptNet.Error.t()}
```

`GET /v1/usage`. Returns `%{"credits" => %{"balance", "freeToday", "available",
"hasPurchased"}, "batch" => ..., "limits" => ...}`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
