Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithPartnerID ¶ added in v0.5.1
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API is an API wrapper for opml.radiotime.com opml.radiotime.com is a deprecated endpoint, we do not guarantee this will stay up
func (*API) BrowseStations ¶
BrowseStations will give back radio stations in a given guide
type Genre ¶ added in v0.5.0
type Genre struct { Name string `json:"name" bson:"name"` GuideID string `json:"guideID" bson:"guideID"` }
Genre represents the TuneIn representatation of a genre
type Station ¶
type Station struct { Name string `json:"name" bson:"name"` Logo string `json:"logo" bson:"logo"` MediaType string `json:"mediaType" bson:"mediaType"` BitRate string `json:"bitrate" bson:"bitrate"` GenreID string `json:"GenreID" bson:"GenreID"` Reliability string `json:"reliability" bson:"reliability"` CurrentTrack string `json:"currentTrack" bson:"currentTrack"` CurrentTrackImageURL string `json:"currentTrackImageURL" bson:"currentTrackImageURL"` TuneInURLs []string `json:"tuneInURL" bson:"tuneInURL"` }
Station contains the data of a station listing
Click to show internal directories.
Click to hide internal directories.