Image Loaders
PixabayAPIWrapper
This notebook will demonstrate how to use the PixabayAPIWrapper
to scrape the Pixabay database for image data.
Initialization
To use this wrapper, you must sign up for an API key by registering on the Pixabay website.
Retrieving Results
The search
function can be used to retrieve results by passing in a prompt. By default, only 10 images are retrieved, but you can pass in a custom number of images to retrieve.
A Document is returned. For reference, we provide the images returned below: