Types

All the custom types used in the package.

Sort

Type: String

Available Values
  • newest

  • rating

Operator

Type: String

Available Values
  • min

  • max

  • equal

DeviceType

Type: String

Available Values
  • desktop

  • phone

URL

PARAMETER
TYPE
DESCRIPTION

image

Link to the image.

thumbnail

Link to the thumbnail version of the image.

webpage

A link to the webpage where the image is held.

BySortOptions

PARAMETER
TYPE
DEFAULTS TO
DESCRIPTION

height

N/A

Height of a wallpaper.

operator

equal

Filter out with respect to the Height and Width.

page

1

Different sets of results.

ratio

N/A

[Min, Max] ratios of the wallpaper size.

Applicable only to 'phone' type.

type

desktop

Type of the device.

width

N/A

Width of a wallpaper.

Wallpaper

PARAMETER
TYPE
DEFAULTS TO
DESCRIPTION

level

1

The quantity of info returned for each wallpaper.

sort

newest

How are the wallpapers sorted.

page

1

Page number, there are 30 wallpapers per page.

width

N/A

Width of the wallpaper.

height

N/A

Height of the wallpaper.

operator

equal

The type of resolution filter.

List

PARAMETER
TYPE
DESCRIPTION

id

ID of the Category or Sub-Category.

name

Name of the Category or Sub-Category.

wallpaperCount

desktop: Number

phone: Number

Number of wallpapers in each type.

WallpaperInfo

PARAMETER
TYPE
DESCRIPTION

wallpaper

Wallpaper

Refer type

tag

Tags attached to the wallpaper.

QueryCount

PARAMETER
TYPE
DESCRIPTION

percentUsed

Percentage of API calls used.

used

Number of used API calls.

unused

Number of unused API calls.

File

PARAMETER
TYPE
DESCRIPTION

size

Size of the file in MegaBytes (MB)

type

'jpg' | 'png' | String

Type of the file.

NameID

PARAMETER
TYPE
DESCRIPTION

id

ID of the preceding object.

name

Name of the preceding object.

GetWallpaperOptions

PARAMETER
TYPE
DEFAULTS TO
DESCRIPTION

height

N/A

Height of the wallpaper.

operator

equal

Filter out with respect to height and width.

page

1

Different sets of results.

ratio

N/A

[Min, Max] ratios of the wallpaper size. Applicable only to 'phone' type.

sort

N/A

A sorting method.

type

desktop

Type of the device.

width

N/A

Width of the wallpaper.

Last updated