Documentation
¶
Index ¶
Constants ¶
View Source
const ( StationIDUrl string = "https://radiko.jp/v3/station/region/full.xml" Auth1_Url string = "https://radiko.jp/v2/api/auth1" Auth2_Url string = "https://radiko.jp/v2/api/auth2" AuthKey string = "bcd151073c03b352e1ef2fd66c32209da9ca0afa" )
Variables ¶
This section is empty.
Functions ¶
func GetResponse ¶
Types ¶
type ProgramInfo ¶
type Programs ¶
type Programs struct {
XMLName xml.Name `xml:"radiko"`
Programs []ProgramInfo `xml:"stations>station>progs>prog"`
Day int
}
func GetPrograms ¶
func GetPrograms(station string, app *tview.Application) *Programs
type StationInfo ¶
type StationInfo struct {
XMLName xml.Name `xml:"station"`
Name string `xml:"name"`
ID string `xml:"id"`
}
func ParseStationIDPage ¶
func ParseStationIDPage() []StationInfo
type Stations ¶
type Stations struct {
XMLName xml.Name `xml:"stations"`
Stations []StationInfo `xml:"station"`
}
Click to show internal directories.
Click to hide internal directories.