[−][src]Trait mygpoclient::episode::GetEpisodeActions
Required methods
fn get_episode_actions(
&self,
podcast: Option<Url>,
since: Option<u64>,
aggregated: bool
) -> Result<GetEpisodeActionsResponse, Error>
&self,
podcast: Option<Url>,
since: Option<u64>,
aggregated: bool
) -> Result<GetEpisodeActionsResponse, Error>
Get changed episode actions
Timestamps: The result is a list of all episode actions that were uploaded since the timestamp given in the since parameter (regardless of the action timestamp itself). The timestamp SHOULD be the value returned by the previous episode retrieve request. If no since value is given, ALL episode actions for the given user are returned. Please note that this could be a potentially long list of episode actions, so clients SHOULD provide a since value whenever possible (e.g. when uploads have been taken place before).
Parameters
podcast
: The URL of a Podcast feed; if set, only actions for episodes of the given podcast are returnedsince
: Only episode actions since the given timestamp are returnedaggregated
: If true, only the latest actions is returned for each episode
Examples
use mygpoclient::client::AuthenticatedClient; use mygpoclient::episode::GetEpisodeActions; use chrono::prelude::*; use url::Url; let client = AuthenticatedClient::new(&username, &password); let response = client.get_episode_actions(Some(Url::parse("http://example.com/feed.rss").unwrap()), None, false)?;
Implementors
impl GetEpisodeActions for AuthenticatedClient
[src]
fn get_episode_actions(
&self,
podcast: Option<Url>,
since: Option<u64>,
aggregated: bool
) -> Result<GetEpisodeActionsResponse, Error>
[src]
&self,
podcast: Option<Url>,
since: Option<u64>,
aggregated: bool
) -> Result<GetEpisodeActionsResponse, Error>