search
Get Wallpapers matching a given search term.
Parameters
PARAMETER
TYPE
OPTIONAL
DESCRIPTION
Returns
Promise<Array<Wallpaper> | null>
Example Code
new Alpha(apiKey).search('video games').then(x => console.log(x));
// OR
new Alpha(apiKey).search('video games', {
page: 10,
operator: 'min',
type: 'phone',
ratio: [0.75, 1]
}).then(x => console.log(x));
Last updated