Documentation
¶
Index ¶
Constants ¶
View Source
const (
Origin = "https://api-v2.soundcloud.com"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Media ¶
type Media struct {
URL string
}
MediaURLResponse is the JSON response of retrieving media information of a track
type Track ¶
type Track struct {
// Media contains an array of transcoding for a track
Media struct {
// Transcoding contains information about the transcoding of a track
Transcodings []struct {
// TranscodingFormat contains the protocol by which the track is
// delivered ("progressive" or "HLS"), and the mime type of the track
Format struct {
Protocol string
}
URL string
}
}
}
Track represents the JSON response of a track's info
Click to show internal directories.
Click to hide internal directories.