soundcloud-api

A SoundCloud API v2 wrapper for Go

GPL-3.0 License

Stars
25
Committers
1

Bot releases are hidden (Show)

soundcloud-api - v0.1.4 Latest Release

Published by zackradisic almost 4 years ago

Fixed an error with prepareURL

soundcloud-api - v0.1.3

Published by zackradisic almost 4 years ago

New

APIOptions

soundcloudapi.New() now accepts an APIOptions struct which allows you to configure the soundcloudapi.API struct.

sc, err := soundcloudapi.New(soundcloudapi.APIOptions{
    ClientID: "dsfsdfsfdsfd", // optional
    HTTPClient: http.DefaultClient, // specify a http client to make requests with
    StripMobilePrefix: true, // convert mobile URLs to regular URLs
    ConvertFirebaseURLs: true // convert firebase URLs to regular urls
})

New soundcloudapi.API Properties

soundcloudapi.API has the new properties StripMobilePrefix and ConvertFirebaseURLs which set behaviour for converting URLs.

sc.StripMobilePrefix = true
sc.ConvertFirebaseURLs = true
soundcloud-api - v0.1.2

Published by zackradisic almost 4 years ago

New

soundcloud-api - v0.1.1

Published by zackradisic almost 4 years ago

New

  • IsPersonalizedTrackURL(url string)
  • IsSearchURL(url string)
Package Rankings
Top 4.52% on Proxy.golang.org
Badges
Extracted from project README
GoDoc