YouTubeTranscriptNet.Account (youtubetranscript_net v0.1.0)

Copy Markdown View Source

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

Summary

Functions

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

Functions

usage(client)

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

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