@playlive/fundraiser-data
    Preparing search index...

    Function fetchLifetimeRaised

    • Fetch a user or team's lifetime raised total from the Play Live lifetime API.

      Returns null when the service reports "NODATA" (no historical record for this slug) so callers can distinguish "known-zero" from "no baseline". React callers that want a scalar can coalesce with ?? 0.

      Parameters

      Returns Promise<number | null>

      Error when lifetimeApiUrl is not configured, or when the response is non-2xx.