Documentation ¶
Index ¶
Constants ¶
View Source
const API_KEY string = "1703d54836a59537c8256940b15809260dce88ad"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GoogleSerperAPIWrapper ¶
type GoogleSerperAPIWrapper struct { K int `json:"k"` Gl string `json:"gl"` Hl string `json:"hl"` Type string `json:"type"` ResultKeyForType map[string]string Tbs string `json:"tbs"` SerperAPIKey string `json:"serper_api_key"` AioSession *http.Client // contains filtered or unexported fields }
func NewGoogleSerperAPIWrapper ¶
func NewGoogleSerperAPIWrapper() *GoogleSerperAPIWrapper
type Image ¶
type Image struct { Title string `json:"title"` ImageUrl string `json:"imageUrl"` ImageWidth int `json:"imageWidth"` ImageHeight int `json:"imageHeight"` ThumbnailUrl string `json:"thumbnailUrl"` ThumbnailWidth int `json:"thumbnailWidth"` ThumbnailHeight int `json:"thumbnailHeight"` Source string `json:"source"` Domain string `json:"domain"` Link string `json:"link"` GoogleUrl string `json:"googleUrl"` Position int `json:"position"` }
type ImageSearchResult ¶
type ImageSearchResult struct { SearchParameters SearchParameters `json:"searchParameters"` Images []Image `json:"images"` }
type SearchParameters ¶
type SearchResult ¶
Click to show internal directories.
Click to hide internal directories.