Documentation
¶
Overview ¶
Package pexels implements the material.Searcher interface for the Pexels 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 30
HTTPClient *http.Client
}
Config configures the Pexels searcher.
type Searcher ¶
type Searcher struct {
// contains filtered or unexported fields
}
Searcher queries the Pexels API for photos and videos.
func (*Searcher) SupportedMediaTypes ¶
Click to show internal directories.
Click to hide internal directories.