soundcloud

package
v0.0.0-...-f84ea49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2017 License: GPL-2.0 Imports: 6 Imported by: 4

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 (s *SoundCloud) GetDirectLink(link string) ([]glod.Response, error)

GetDirectLink input is a link then return an object contains download url, song title and artist

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL