Documentation
¶
Index ¶
Constants ¶
View Source
const ( APILink string = "http://api.soundcloud.com/resolve.json?" MediaLink string = "http://media.soundcloud.com/stream/" ClientID string = "70faad763a2546deb1bdabc3a6bfa722" )
Soundcloud const
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResponseSoundCloud ¶
type ResponseSoundCloud struct {
StreamURL string `json:"stream_url"`
TrackList []struct {
StreamURL string `json:"stream_url"`
Title string `json:"title"`
} `json:"tracks"`
Title string `json:"title"`
UserID int `json:"id"`
}
ResponseSoundCloud is a struct that will be returned by soundcloud
type SoundCloud ¶
type SoundCloud struct {
}
SoundCloud ...
func (*SoundCloud) GetDirectLink ¶
func (s *SoundCloud) GetDirectLink(link string) ([]glod.Response, error)
GetDirectLink input is a link then return an object contains download url, song title and artist
Click to show internal directories.
Click to hide internal directories.