Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Gallery

Hierarchy

  • Gallery

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Gallery(accessToken: string): Gallery

Properties

Private accessToken

accessToken: string

Private api

api: Api = new api(this.accessToken)

Methods

all

  • Get all of the deviations of a certain user, yourself if none is specified.

    Parameters

    • Optional params: object
      • Optional expand?: string
      • Optional limit?: number
      • Optional mature_content?: boolean
      • Optional offset?: number
      • Optional username?: string

    Returns Promise<DeviantArtGalleryAll>

folders

  • Get all of the folders of a certain user, or yourself if none is specified.

    Parameters

    • Optional params: object
      • Optional calculate_size?: boolean
      • Optional ext_preload?: boolean
      • Optional limit?: number
      • Optional mature_content?: boolean
      • Optional offset?: number
      • Optional username?: string

    Returns Promise<DeviantArtGalleryFolders>

get

  • Gets all of the deviations in the folder, requires the folder id.

    Parameters

    • Optional params: object
      • Optional expand?: string
      • Optional folderid?: string
      • Optional limit?: number
      • Optional mature_content?: boolean
      • Optional mode?: string
      • Optional offset?: number
      • Optional username?: string

    Returns Promise<DeviantArtGalleryResult>

Generated using TypeDoc