Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Data

Hierarchy

  • Data

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Data(accessToken: string): Data

Properties

Private accessToken

accessToken: string

Private api

api: Api = new api(this.accessToken)

Methods

countries

  • countries(params?: object): Promise<object>
  • Returns a list of all countries.

    Parameters

    • Optional params: object
      • Optional mature_content?: boolean

    Returns Promise<object>

privacy

submission

  • Returns the submission guidelines.

    Parameters

    • Optional params: object
      • Optional mature_content?: boolean

    Returns Promise<DeviantArtData>

tos

Generated using TypeDoc