Options
All
  • Public
  • Public/Protected
  • All
Menu

Discojs.

Hierarchy

Index

Constructors

constructor

Properties

outputFormat

outputFormat: OutputFormat

userAgent

userAgent: string

User Identity Methods

getIdentity

  • getIdentity(this: Discojs): Promise<{} & {}>

Protected getUsername

  • getUsername(this: Discojs): Promise<string>

User Profile Methods

editProfile

getProfile

  • getProfile(this: Discojs): Promise<{} & {} & {}>

getProfileForUser

  • getProfileForUser(this: Discojs, username: string): Promise<{} & {} & {}>

User Submissions Methods

getSubmissions

getSubmissionsForUser

  • getSubmissionsForUser(this: Discojs, username: string, pagination?: Pagination): Promise<{}>

User Contributions Methods

getContributions

getContributionsForUser

User Collection Methods

createFolder

  • createFolder(this: Discojs, name: string): Promise<{} & {}>

listFolders

  • listFolders(this: Discojs): Promise<{}>

listFoldersForUser

  • listFoldersForUser(this: Discojs, username: string): Promise<{}>

User Folder Methods

deleteFolder

editFolder

getFolder

getFolderForUser

  • getFolderForUser(this: Discojs, username: string, folderId: FolderIdsEnum | number): Promise<{} & {}>

Database Methods

deleteReleaseRating

getArtist

  • getArtist(this: Discojs, artistId: number): Promise<{} & {} & {} & {}>

getArtistReleases

getCommunityReleaseRating

  • getCommunityReleaseRating(this: Discojs, releaseId: number): Promise<{}>

getLabel

  • getLabel(this: Discojs, labelId: number): Promise<{} & {} & {}>

getLabelReleases

  • getLabelReleases(this: Discojs, labelId: number, pagination?: Pagination): Promise<{}>

getMaster

  • getMaster(this: Discojs, masterId: number): Promise<{} & {}>

getMasterVersions

  • getMasterVersions(this: Discojs, masterId: number, pagination?: Pagination): Promise<{}>

getRelease

getReleaseRating

  • getReleaseRating(this: Discojs, releaseId: number): Promise<{}>

getReleaseRatingForUser

  • getReleaseRatingForUser(this: Discojs, username: string, releaseId: number): Promise<{}>

getReleaseStats

searchArtist

searchDatabase

searchLabel

searchMaster

searchRelease

updateReleaseRating

Helpers Methods

fetchImage

  • fetchImage(imageUrl: string): Promise<Blob>

Static getReleaseConditions

Static getSleeveConditions

Static getSupportedCurrencies

Marketplace Methods

createListing

deleteListing

editListing

editOrder

getInventory

getInventoryForUser

getListing

getMarketplaceStatistics

getOrder

  • getOrder(this: Discojs, orderId: number): Promise<{} & {}>

getPriceSuggestions

  • getPriceSuggestions(this: Discojs, releaseId: number): Promise<{}>

listOrderMessages

  • listOrderMessages(this: Discojs, orderId: number): Promise<{}>

listOrders

sendOrderMessage

  • sendOrderMessage(this: Discojs, orderId: number, message?: undefined | string, status?: OrderStatusesEnum): Promise<{} & {} & {} & {} & {}>

User Methods

addReleaseToFolder

  • addReleaseToFolder(this: Discojs, releaseId: number, folderId?: FolderIdsEnum | number): Promise<{} & {}>

addToWantlist

  • addToWantlist(this: Discojs, releaseId: number, notes?: undefined | string, rating?: RatingValues): Promise<{} & {}>

deleteReleaseInstanceFromFolder

editCustomFieldForInstance

  • editCustomFieldForInstance(this: Discojs, folderId: FolderIdsEnum | number, releaseId: number, instanceId: number, fieldId: number, value: string): Promise<EmptyResponse>

editReleaseInstanceRating

getCollectionValue

  • getCollectionValue(this: Discojs): Promise<{}>

getListItems

  • getListItems(this: Discojs, listId: number): Promise<{}>

getLists

getListsForUser

  • getListsForUser(this: Discojs, username: string, pagination?: Pagination): Promise<{}>

getWantlist

getWantlistForUser

  • getWantlistForUser(this: Discojs, username: string, pagination?: Pagination): Promise<{}>

listCustomFields

  • listCustomFields(this: Discojs): Promise<{}>

listCustomFieldsForUser

  • listCustomFieldsForUser(this: Discojs, username: string): Promise<{}>

listItemsByRelease

  • listItemsByRelease(this: Discojs, release_id: number, pagination?: Pagination): Promise<{}>

listItemsByReleaseForUser

  • listItemsByReleaseForUser(this: Discojs, username: string, release_id: number, pagination?: Pagination): Promise<{}>

listItemsInFolder

listItemsInFolderForUser

moveReleaseInstanceToFolder

removeFromWantlist

Legend

Generated using TypeDoc