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>
-
Parameters
-
Optional params: object
-
Optional mature_content?: boolean
Returns Promise<object>
privacy
-
Parameters
-
Optional params: object
-
Optional mature_content?: boolean
submission
-
Parameters
-
Optional params: object
-
Optional mature_content?: boolean
tos
-
Parameters
-
Optional params: object
-
Optional mature_content?: boolean
Returns a list of all countries.