Versions in this module Expand all Collapse all v1 v1.0.0 Feb 23, 2021 Changes in this version + const BaseURL + const UserAgent + type Client struct + func NewClient(apiKey, apiSecret string) *Client + func NewClientWithConfig(apiKey, apiSecret string, config Config, client *http.Client) *Client + func (c *Client) EpisodeByID(id uint) (*Episode, error) + func (c *Client) EpisodesByFeedID(id uint, max uint, since time.Time) ([]*Episode, error) + func (c *Client) EpisodesByFeedURL(feedURL string, max uint, since time.Time) ([]*Episode, error) + func (c *Client) EpisodesByITunesID(id uint, max uint, since time.Time) ([]*Episode, error) + func (c *Client) NewPodcasts() ([]*NewPodcast, error) + func (c *Client) PodcastByFeedID(id uint) (*Podcast, error) + func (c *Client) PodcastByFeedURL(url string) (*Podcast, error) + func (c *Client) PodcastByITunesID(id uint) (*Podcast, error) + func (c *Client) RandomEpisodes(languages, categories, notCategories []string, max uint) ([]*Episode, error) + func (c *Client) RecentEpisodes(before uint, max uint, exclude string) ([]*Episode, error) + func (c *Client) RecentPodcasts(languages, categories, notCategories []string, max uint, since time.Time) ([]*RecentPodcast, error) + func (c *Client) Search(term string) ([]*Podcast, error) + func (c *Client) SearchC(term string, clean bool, max uint) ([]*Podcast, error) + type Config struct + BaseURL string + UserAgent string + var DefaultConfig *Config = &Config{ ... } + type Duration time.Duration + func (d *Duration) UnmarshalJSON(s []byte) (err error) + func (d Duration) MarshalJSON() ([]byte, error) + func (d Duration) String() string + type Episode struct + ChaptersURL string + DateCrawled Time + DatePublished Time + Description string + Duration Duration + EnclosureLength int + EnclosureType string + EnclosureURL string + Episode int + EpisodeType string + Explicit int + FeedID int + FeedImage string + FeedItunesID int + FeedLanguage string + GUID string + ID int + Image string + Link string + Season int + Title string + TranscriptURL string + type NewPodcast struct + ContentHash string + ID int + Language string + Status string + TimeAdded Time + URL string + type Podcast struct + Artwork string + Author string + Categories map[uint]string + ContentType string + CrawlErrors int + Dead int + Description string + Generator string + ID uint + Image string + ItunesID int + Language string + LastCrawlTime Time + LastGoodHTTPStatusTime Time + LastHTTPStatus int + LastParseTime Time + LastUpdateTime Time + Link string + OriginalURL string + OwnerName string + ParseErrors int + Title string + Type int + URL string + type RecentPodcast struct + Description string + ID int + Image string + ItunesID int + Language string + NewestItemPublishTime Time + Title string + URL string + type Time time.Time + func (t *Time) UnmarshalJSON(s []byte) (err error) + func (t Time) MarshalJSON() ([]byte, error) + func (t Time) String() string