bandcamp

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2025 License: OSL-3.0 Imports: 8 Imported by: 0

README

Bandcamp

Android client

com.bandcamp.android

Bandcamp app as of the date above, does not monitor Bandcamp URLs:

<intent-filter>
   <action android:name="android.intent.action.VIEW"/>
   <category android:name="android.intent.category.DEFAULT"/>
   <category android:name="android.intent.category.BROWSABLE"/>
   <data android:scheme="x-bandcamp" android:host="open"/>
   <data android:scheme="x-bandcamp" android:host="messages"/>
   <data android:scheme="x-bandcamp" android:host="feed"/>
   <data android:scheme="x-bandcamp" android:host="linked_paypal_email"/>
   <data android:scheme="x-bandcamp" android:host="show_merch"/>
   <data android:scheme="x-bandcamp" android:host="show_tralbum"/>
   <data android:scheme="x-bandcamp" android:host="show_fan"/>
   <data android:scheme="x-bandcamp" android:host="login"/>
   <data android:scheme="x-bandcamp" android:host="signup"/>
</intent-filter>

so deep linking is not possible. The API used with Bandcamp Android requires IDs for everything. This is the case going back to 2016 at least.

Why does this exist?

https://solarfields.bandcamp.com/track/sol-remix-remastered

Solar Fields hasn’t created any albums yet:

https://soundcloud.com/solarfields/albums

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReportParams

type ReportParams struct {
	Aid   int64  `json:"a_id"`
	Iid   int    `json:"i_id"`
	Itype string `json:"i_type"`
}

func (*ReportParams) New

func (r *ReportParams) New(url1 string) error

func (*ReportParams) Tralbum

func (r *ReportParams) Tralbum() (*Tralbum, bool)

type Tralbum

type Tralbum struct {
	Id   int
	Type byte
}

func (*Tralbum) Tralbum added in v1.5.6

func (t *Tralbum) Tralbum() (*TralbumDetails, error)

type TralbumDetails added in v1.5.6

type TralbumDetails struct {
	ArtId         int64 `json:"art_id"`
	ReleaseDate   int64 `json:"release_date"`
	Title         string
	TralbumArtist string `json:"tralbum_artist"`
}

func (*TralbumDetails) Time added in v1.5.6

func (t *TralbumDetails) Time() time.Time

Jump to

Keyboard shortcuts

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