Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Browse

Hierarchy

  • Browse

Index

Constructors

constructor

  • new Browse(accessToken: string): Browse

Properties

Private accessToken

accessToken: string

Private api

api: Api = new api(this.accessToken)

Methods

categoryTree

  • This will fetch all of the category paths that you can use in the category_path parameter.

    Parameters

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

    Returns Promise<DeviantArtCategoryTree>

daily

  • Fetches daily deviations for today or a certain date if it is specified.

    Parameters

    • Optional params: object
      • Optional date?: string
      • Optional expand?: string
      • Optional mature_content?: boolean

    Returns Promise<DeviantArtDailySearch>

hot

  • Searches for hot deviations.

    Parameters

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

    Returns Promise<DeviantArtSearchResults>

moreLikeThis

  • Gets similar deviations to the one specified. Requires the deviation id.

    Parameters

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

    Returns Promise<DeviantArtSearchResults>

moreLikeThisPreview

newest

  • Searches for newest deviations.

    Parameters

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

    Returns Promise<DeviantArtQueryResults>

popular

  • Searches for popular deviations.

    Parameters

    • Optional params: object
      • Optional category_path?: string
      • Optional expand?: string
      • Optional limit?: number
      • Optional mature_content?: boolean
      • Optional offset?: number
      • Optional q?: string
      • Optional timerange?: string

    Returns Promise<DeviantArtQueryResults>

tag

  • Searches deviations using a tag.

    Parameters

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

    Returns Promise<DeviantArtQueryResults>

tagSearch

undiscovered

  • Searches for undiscovered deviations.

    Parameters

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

    Returns Promise<DeviantArtSearchResults>

userJournals

  • Searches the journals of a user.

    Parameters

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

    Returns Promise<DeviantArtSearchResults>

Generated using TypeDoc