Pixabay ======= The Pixabay Service provides access to free images released under Creative Commons CC0. For more information, check out https://pixabay.com .. toctree:: :maxdepth: 2 :titlesonly: :caption: RPC Categories RPCS ---- .. function:: 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 .. function:: 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 to :func:`Pixabay.getImage`. **Arguments:** - ``keywords: String`` (`String `__) - Search query - ``maxHeight: Number?`` (`Number `__) - Restrict query to images smaller than ``maxHeight`` - ``minHeight: Number?`` (`Number `__) - Restrict query to images larger than ``minHeight`` **Returns:** ``List`` (`List `__ | `Object `__) - list of matching images .. function:: Pixabay.searchIllustration(keywords: String, maxHeight: Number?, minHeight: Number?) Search Pixabay for an illustration matching the keywords. This is identical to :func:`Pixabay.searchAll` except that only illustrations are returned. **Arguments:** - ``keywords: String`` (`String `__) - Search query - ``maxHeight: Number?`` (`Number `__) - Restrict query to images smaller than ``maxHeight`` - ``minHeight: Number?`` (`Number `__) - Restrict query to images larger than ``minHeight`` **Returns:** ``List`` (`List `__ | `Object `__) - list of matching images .. function:: Pixabay.searchPhoto(keywords: String, maxHeight: Number?, minHeight: Number?) Search Pixabay for a photo matching the keywords. This is identical to :func:`Pixabay.searchAll` except that only photos are returned. **Arguments:** - ``keywords: String`` (`String `__) - Search query - ``maxHeight: Number?`` (`Number `__) - Restrict query to images smaller than ``maxHeight`` - ``minHeight: Number?`` (`Number `__) - Restrict query to images larger than ``minHeight`` **Returns:** ``List`` (`List `__ | `Object `__) - list of matching images