fromCategory
Gets an Array of wallpapers belonging to a single Category.
Parameters
PARAMETER
TYPE
OPTIONAL
DESCRIPTION
Returns
Promise<Array<Wallpaper> | null>
Example Code
<getWallpapers>.fromCategory(1).then(x => console.log(x));
// OR
<getWallpapers>.fromCategory(1, {
page: 10,
operator: 'min',
type: 'phone',
ratio: [0.75, 1]
}).then(x => console.log(x));
Last updated