Skip to main content
Corvus Connection

IPatreonApi

Interface
TheOmenDen.StreamPulse.Scripting.IPatreonApiRead access to the streamer's connected Patreon campaign inside a script handler. Failure-safe: no campaign connected, an API error, a missing or expired token, or a network fault is logged (with confidential data stripped) and reported as null. It never throws, so a failing call can never crash the host or escape a node. Lets a graph branch on patron counts without a try/catch.

Members

1
  • GetCampaignAsync
    method
    Task<PatreonCampaignSnapshot> GetCampaignAsync(CancellationToken cancellationToken = default)
    The connected campaign's current state, or null when no campaign is connected or on any error.