Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ClientID = ""
ClientID for SoundCloud
Functions ¶
func GetTrackIDByURL ¶
GetTrackIDByURL retrieves the trackID of a SoundCloud track by its URL or path
Types ¶
type SearchResult ¶
type SearchResult struct { Collection []Track `json:"collection"` TotalResults int `json:"total_results"` }
SearchResult represents the the response when a search is performed
type Track ¶
type Track struct { ID int `json:"id"` Title string `json:"title"` Media media `json:"media"` ArtworkURL string `json:"artwork_url"` PermalinkURL string `json:"permalink_url"` MediaURL string Artist artist `json:"artist"` }
Track represents the track from SoundCloud
Click to show internal directories.
Click to hide internal directories.