pub struct CreativeCenterClient<'a> { /* private fields */ }Expand description
Creative center API client.
Implementations§
Source§impl<'a> CreativeCenterClient<'a>
impl<'a> CreativeCenterClient<'a>
Sourcepub async fn season_list(
&self,
params: SeasonListParams,
) -> BpiResult<SeasonListData>
pub async fn season_list( &self, params: SeasonListParams, ) -> BpiResult<SeasonListData>
Lists seasons created by the current authenticated user.
Sourcepub async fn season_info(
&self,
params: SeasonInfoParams,
) -> BpiResult<SeasonInfoData>
pub async fn season_info( &self, params: SeasonInfoParams, ) -> BpiResult<SeasonInfoData>
Gets one creative center season by season id.
Sourcepub async fn season_by_aid(
&self,
params: SeasonByAidParams,
) -> BpiResult<SeasonByAidData>
pub async fn season_by_aid( &self, params: SeasonByAidParams, ) -> BpiResult<SeasonByAidData>
Gets the season that contains an archive id.
Sourcepub async fn season_section_episodes(
&self,
params: SeasonSectionEpisodesParams,
) -> BpiResult<SeasonSectionEpisodesData>
pub async fn season_section_episodes( &self, params: SeasonSectionEpisodesParams, ) -> BpiResult<SeasonSectionEpisodesData>
Gets videos in a creative center season section.
Sourcepub async fn archives_list(
&self,
params: UpArchivesListParams,
) -> BpiResult<SpArchivesData>
pub async fn archives_list( &self, params: UpArchivesListParams, ) -> BpiResult<SpArchivesData>
Lists archives for the current authenticated creator.
Sourcepub async fn archive_videos(
&self,
params: UpArchiveVideosParams,
) -> BpiResult<ArchiveVideosData>
pub async fn archive_videos( &self, params: UpArchiveVideosParams, ) -> BpiResult<ArchiveVideosData>
Gets basic video information for a creator archive.
Sourcepub async fn up_stat(&self) -> BpiResult<UpStatData>
pub async fn up_stat(&self) -> BpiResult<UpStatData>
Gets creator video statistics.
Sourcepub async fn archive_compare(
&self,
params: UpArchiveCompareParams,
) -> BpiResult<ArchiveCompareData>
pub async fn archive_compare( &self, params: UpArchiveCompareParams, ) -> BpiResult<ArchiveCompareData>
Gets creator archive comparison statistics.
Sourcepub async fn article_stat(&self) -> BpiResult<UpArticleStatData>
pub async fn article_stat(&self) -> BpiResult<UpArticleStatData>
Gets creator article statistics.
Sourcepub async fn video_trend(
&self,
params: UpVideoTrendParams,
) -> BpiResult<Vec<VideoTrendItem>>
pub async fn video_trend( &self, params: UpVideoTrendParams, ) -> BpiResult<Vec<VideoTrendItem>>
Gets creator video trend data.
Sourcepub async fn article_trend(
&self,
params: UpArticleTrendParams,
) -> BpiResult<Vec<ArticleTrendItem>>
pub async fn article_trend( &self, params: UpArticleTrendParams, ) -> BpiResult<Vec<ArticleTrendItem>>
Gets creator article trend data.
Sourcepub async fn play_source(&self) -> BpiResult<PlaySourceData>
pub async fn play_source(&self) -> BpiResult<PlaySourceData>
Gets creator playback source distribution.
Sourcepub async fn viewer_data(&self) -> BpiResult<ViewerData>
pub async fn viewer_data(&self) -> BpiResult<ViewerData>
Gets creator viewer distribution data.
Sourcepub async fn electromagnetic_info(&self) -> BpiResult<ElectromagneticInfo>
pub async fn electromagnetic_info(&self) -> BpiResult<ElectromagneticInfo>
Gets current account electromagnetic rating information.
Source§impl<'a> CreativeCenterClient<'a>
impl<'a> CreativeCenterClient<'a>
Source§impl<'a> CreativeCenterClient<'a>
impl<'a> CreativeCenterClient<'a>
Source§impl<'a> CreativeCenterClient<'a>
impl<'a> CreativeCenterClient<'a>
Sourcepub async fn season_edit(
&self,
season: SeasonEdit,
sorts: Vec<SeasonSectionSort>,
) -> BpiResult<Option<Value>>
pub async fn season_edit( &self, season: SeasonEdit, sorts: Vec<SeasonSectionSort>, ) -> BpiResult<Option<Value>>
Sourcepub async fn season_section_edit(
&self,
section: SeasonSectionEdit,
sorts: Vec<SectionSort>,
) -> BpiResult<Option<Value>>
pub async fn season_section_edit( &self, section: SeasonSectionEdit, sorts: Vec<SectionSort>, ) -> BpiResult<Option<Value>>
Sourcepub async fn season_section_episode_edit(
&self,
section: EpisodeEdit,
sorts: Vec<EpisodeSort>,
) -> BpiResult<Option<Value>>
pub async fn season_section_episode_edit( &self, section: EpisodeEdit, sorts: Vec<EpisodeSort>, ) -> BpiResult<Option<Value>>
Source§impl<'a> CreativeCenterClient<'a>
impl<'a> CreativeCenterClient<'a>
Trait Implementations§
Source§impl<'a> Clone for CreativeCenterClient<'a>
impl<'a> Clone for CreativeCenterClient<'a>
Source§fn clone(&self) -> CreativeCenterClient<'a>
fn clone(&self) -> CreativeCenterClient<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for CreativeCenterClient<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CreativeCenterClient<'a>
impl<'a> !UnwindSafe for CreativeCenterClient<'a>
impl<'a> Freeze for CreativeCenterClient<'a>
impl<'a> Send for CreativeCenterClient<'a>
impl<'a> Sync for CreativeCenterClient<'a>
impl<'a> Unpin for CreativeCenterClient<'a>
impl<'a> UnsafeUnpin for CreativeCenterClient<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more