Documentation
¶
Overview ¶
Package pixabay implements the material.Searcher interface for the Pixabay stock platform.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
APIKey string
RPM int // requests per minute; default 100
HTTPClient *http.Client
}
Config configures the Pixabay searcher.
type Searcher ¶
type Searcher struct {
// contains filtered or unexported fields
}
Searcher queries the Pixabay API for images and videos.
func New ¶
New creates a Pixabay searcher. If APIKey is empty, falls back to PIXABAY_API_KEY env var.
func (*Searcher) SupportedMediaTypes ¶
Click to show internal directories.
Click to hide internal directories.