[][src]Trait mygpoclient::directory::RetrievePodcastData

pub trait RetrievePodcastData {
    fn retrieve_podcast_data(&self, url: Url) -> Result<Podcast, Error>;
}

Required methods

fn retrieve_podcast_data(&self, url: Url) -> Result<Podcast, Error>

Returns information for the podcast with the given URL or Error if there is no podcast with this URL.

Parameters

  • url: podcast feed url

Examples

use mygpoclient::client::PublicClient;
use mygpoclient::directory::RetrievePodcastData;
use url::Url;

let url = Url::parse("http://feeds.feedburner.com/coverville").unwrap();
let podcast = PublicClient::default().retrieve_podcast_data(url)?;

See also

Loading content...

Implementors

impl RetrievePodcastData for AuthenticatedClient[src]

impl RetrievePodcastData for DeviceClient[src]

impl RetrievePodcastData for PublicClient[src]

Loading content...