Constructors
constructor
- new Deviation(accessToken: string): Deviation
Properties
Private accessToken
accessToken: string
Private api
api
: Api = new api(this.accessToken)
Methods
content
-
Parameters
-
params: object
-
deviationid: string
-
Optional mature_content?: boolean
download
-
Parameters
-
params: object
-
deviationid: string
-
Optional mature_content?: boolean
embeddedContent
-
Parameters
-
params: object
-
deviationid: string
-
Optional limit?: number
-
Optional mature_content?: boolean
-
Optional offset?: number
-
Optional offset_deviationid?: string
get
-
Parameters
-
params: object
-
deviationid: string
-
Optional expand?: string
metaData
-
Parameters
-
params: object
-
deviationids: string[]
-
Optional ext_camera?: boolean
-
Optional ext_collection?: boolean
-
Optional ext_stats?: boolean
-
Optional ext_submission?: boolean
-
Optional mature_content?: boolean
whoFaved
-
Parameters
-
params: object
-
deviationid: string
-
Optional limit?: number
-
Optional offset?: number
Fetch the full data of a deviation.