Pixabay
The Pixabay Service provides access to free images released under Creative Commons CC0. For more information, check out https://pixabay.com
RPCS
- Pixabay.getImage(url: String)
Retrieve an image from Pixabay from the URL
Arguments:
url: String
(String) - URL of the image to retrieve
Returns:
Image
(Image) - the requested image
- Pixabay.searchAll(keywords: String, maxHeight: Number?, minHeight: Number?)
Search Pixabay for an image matching the keywords. The returned data is a list of structeud data objects containing information about each matching image. Notably, the
image_url
field of each match can be passed toPixabay.getImage()
.Arguments:
keywords: String
(String) - Search querymaxHeight: Number?
(Number) - Restrict query to images smaller thanmaxHeight
minHeight: Number?
(Number) - Restrict query to images larger thanminHeight
Returns:
List<Object>
(List | Object) - list of matching images
- Pixabay.searchIllustration(keywords: String, maxHeight: Number?, minHeight: Number?)
Search Pixabay for an illustration matching the keywords. This is identical to
Pixabay.searchAll()
except that only illustrations are returned.Arguments:
keywords: String
(String) - Search querymaxHeight: Number?
(Number) - Restrict query to images smaller thanmaxHeight
minHeight: Number?
(Number) - Restrict query to images larger thanminHeight
Returns:
List<Object>
(List | Object) - list of matching images
- Pixabay.searchPhoto(keywords: String, maxHeight: Number?, minHeight: Number?)
Search Pixabay for a photo matching the keywords. This is identical to
Pixabay.searchAll()
except that only photos are returned.Arguments:
keywords: String
(String) - Search querymaxHeight: Number?
(Number) - Restrict query to images smaller thanmaxHeight
minHeight: Number?
(Number) - Restrict query to images larger thanminHeight
Returns:
List<Object>
(List | Object) - list of matching images