ExOura.SleepTime (ex_oura v3.0.1)

Copy Markdown View Source

Documentation for Oura API - Sleep Time

Summary

Types

document_id()

@type document_id() :: String.t()

end_date()

@type end_date() :: Date.t()

next_token()

@type next_token() :: String.t() | nil

opts()

@type opts() :: Keyword.t()

single_sleep_time_response()

@type single_sleep_time_response() ::
  {:ok, ExOura.Client.PublicSleepTime.t()} | {:error, term()}

sleep_time_response()

@type sleep_time_response() ::
  {:ok, ExOura.Client.MultiDocumentResponsePublicSleepTime.t()}
  | {:error, term()}

start_date()

@type start_date() :: Date.t()

Functions

multiple_sleep_time(start_date, end_date, next_token \\ nil, opts \\ [])

@spec multiple_sleep_time(start_date(), end_date(), next_token(), opts()) ::
  sleep_time_response()

Multiple Sleep Time

single_sleep_time(document_id, opts \\ [])

@spec single_sleep_time(document_id(), opts()) :: single_sleep_time_response()

Single Sleep Time