[−][src]Trait mygpoclient::directory::PodcastSearch
see podcast_search
Required methods
fn podcast_search(
&self,
q: &str,
scale_logo: Option<u16>
) -> Result<Vec<Podcast>, Error>
&self,
q: &str,
scale_logo: Option<u16>
) -> Result<Vec<Podcast>, Error>
Carries out a service-wide search for podcasts that match the given query. Returns a list of podcasts.
Parameters
q
: search queryscale_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);