gleetube/resource/activities

Types

pub type ActivityFilter {
  ByChannelId(channel_id: String)
  Mine
}

Constructors

  • ByChannelId(channel_id: String)
  • Mine
pub type ActivityPart {
  Snippet
  ContentDetails
}

Constructors

  • Snippet
  • ContentDetails

Values

pub fn list(
  client: client.Client,
  parts parts: List(ActivityPart),
  filter filter: ActivityFilter,
  max_results max_results: option.Option(Int),
  page_token page_token: option.Option(String),
  published_after published_after: option.Option(String),
  published_before published_before: option.Option(String),
  region_code region_code: option.Option(String),
) -> Result(activity.ActivityListResponse, error.GleeTubeError)
pub fn list_all(
  client: client.Client,
  parts parts: List(ActivityPart),
  filter filter: ActivityFilter,
  published_after published_after: option.Option(String),
  published_before published_before: option.Option(String),
  region_code region_code: option.Option(String),
) -> Result(List(activity.Activity), error.GleeTubeError)

Fetch all activities across all pages.

Search Document