Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Comments

Hierarchy

  • Comments

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Comments(accessToken: string): Comments

Properties

Private accessToken

accessToken: string

Private api

api: Api = new api(this.accessToken)

Methods

deviation

  • Fetches all comments on a certain deviation.

    Parameters

    • params: object
      • Optional commentid?: string
      • deviationid: string
      • Optional limit?: number
      • Optional mature_content?: boolean
      • Optional maxdepth?: number
      • Optional offset?: number

    Returns Promise<DeviantArtCommentSearch>

profile

  • Fetches all the comments on a user profile.

    Parameters

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

    Returns Promise<DeviantArtCommentSearch>

siblings

  • Fetches all of the replies to a certain comment, requires the comment id.

    Parameters

    • params: object
      • commentid: string
      • Optional ext_item?: boolean
      • Optional limit?: number
      • Optional mature_content?: boolean
      • Optional offset?: number

    Returns Promise<DeviantArtCommentContext>

status

  • Fetches all the comments on a user status.

    Parameters

    • params: object
      • Optional commentid?: string
      • Optional limit?: number
      • Optional mature_content?: boolean
      • Optional maxdepth?: number
      • Optional offset?: number
      • statusid: string

    Returns Promise<DeviantArtCommentSearch>

Generated using TypeDoc