Static Method Summary
Static Public Methods | ||
public static |
Create an instance of Player |
Constructor Summary
Public Constructor | ||
public |
constructor(keyAPI: string) Create instance |
Member Summary
Public Members | ||
public |
Provide artist methods - All methods return a promise |
|
public |
Provide event method - return a promise |
|
public |
Provide harmonia methods - All methods return a promise |
|
public get |
key: * Get the current API Key |
|
public set |
key: * Set a new API Key |
|
public |
Provide label methods - All methods return a promise |
|
public |
Provide radio methods - All methods return a promise |
|
public |
Provide releases methods - All methods return a promise |
|
public |
Provide search methods - All methods return a promise |
|
public |
Provide shop methods - All methods return a promise |
|
public |
Provide tag methods - All methods return a promise |
|
public |
Provides track methods - All methods return a promise |
Static Public Methods
Public Constructors
Public Members
public artist: object source
Provide artist methods - All methods return a promise
Properties:
Name | Type | Attribute | Description |
get | function | Get artist |
|
aliases | function | Get artist aliases |
|
bands | function | Get bands for artist |
|
biography | function | Get artist biography |
|
events | function | Get artist events |
|
harmonia | function | Get harmonia |
|
members | function | Get artist members |
|
related | function | Get related artist |
|
releases | function | Get artist releases |
|
similar | function | Get similar artists |
|
summary | function | Get artist generated summary |
|
websites | function | Get artist websites |
Example:
const result = []
blitzr.artist.get({ uuid: 'uuid' }).then(res => { result = res })
public event: object source
Provide event method - return a promise
Properties:
Name | Type | Attribute | Description |
get | function | Get event details |
Example:
const event = {}
blitzr.event.get({ slug: 'slug' }).then(res => { event = res })
public harmonia: object source
Provide harmonia methods - All methods return a promise
Example:
const result = []
blitzr.harmonia.artist({ service_name: 'spotify', service_id: 'spotify_id' }).then(res => { result = res })
public label: object source
Provide label methods - All methods return a promise
Example:
const result = []
blitzr.label.get({ uuid: 'uuid' }).then(res => { result = res })
public radio: object source
Provide radio methods - All methods return a promise
Example:
const playlist = []
blitzr.radio.artist({ uuid: 'uuid' }).then(res => { playlist = res })
public release: object source
Provide releases methods - All methods return a promise
Example:
const result = []
blitzr.releases.get({ uuid: 'uuid' }).then(res => { result = res })
public search: object source
Provide search methods - All methods return a promise
Example:
const result = []
blitzr.search.artist({ query: 'myQuery' }).then(res => { result = res })
public shop: object source
Provide shop methods - All methods return a promise
Example:
const result = []
blitzr.shop.artist('mp3', { uuid: 'uuid' }).then(res => { result = res })
public tag: object source
Provide tag methods - All methods return a promise
Example:
const tag = ''
blitzr.tag.get({ slug: 'slug' }).then(res => { tag = res })