[][src]Trait mygpoclient::directory::PodcastSearch

pub trait PodcastSearch {
    fn podcast_search(
        &self,
        q: &str,
        scale_logo: Option<u16>
    ) -> Result<Vec<Podcast>, Error>; }

Required methods

Carries out a service-wide search for podcasts that match the given query. Returns a list of podcasts.

Parameters

  • q: search query
  • scale_logo: provides a link to a scaled logo for each podcast. Has to be a positive number up to 256 and defaults to 64.

Examples

use mygpoclient::client::PublicClient;
use mygpoclient::directory::PodcastSearch;

let podcasts = PublicClient::default().podcast_search("raumzeit", None)?;
assert!(podcasts.len() > 0);

See also

Loading content...

Implementors

impl PodcastSearch for AuthenticatedClient[src]

impl PodcastSearch for DeviceClient[src]

impl PodcastSearch for PublicClient[src]

Loading content...