Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Stash

Hierarchy

  • Stash

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Stash(accessToken: string): Stash

Properties

Private accessToken

accessToken: string

Private api

api: Api = new api(this.accessToken)

Methods

get

  • Fetches a stash from its stack id.

    Parameters

    • params: object
      • Optional mature_content?: boolean
      • stackid: string

    Returns Promise<DeviantArtStash>

item

  • Fetches an item using its item id.

    Parameters

    • params: object
      • Optional ext_camera?: boolean
      • Optional ext_stats?: boolean
      • Optional ext_submission?: boolean
      • itemid: string
      • Optional mature_content?: boolean

    Returns Promise<DeviantArtStashItem>

Generated using TypeDoc