google

package
v0.0.0-...-c645b9f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SupportedCountries           = []string{} /* 242 elements not displayed */
	SupportedLanguages           = []string{"ar", "bg", "ca", "cs", "da", "de", "el", "en", "es", "et", "fi", "fr", "hr", "hu", "id", "is", "it", "iw", "ja", "ko", "lt", "lv", "nl", "no", "pl", "pt", "ro", "ru", "sk", "sl", "sr", "sv", "tr", "zh-CN", "zh-TW"}
	SupportedImageSizes          = []string{"huge", "icon", "large", "medium", "small", "xlarge", "xxlarge"}
	SupportedImageTypes          = []string{"clipart", "face", "lineart", "stock", "photo", "animated"}
	SupportedImageDominantColors = []string{"black", "blue", "brown", "gray", "green", "pink", "purple", "teal", "white", "yellow"}
	SupportedImageColorTypes     = []string{"color", "gray", "mono", "trans"}
)

List sources: countries: https://developers.google.com/custom-search/docs/json_api_reference#countryCollections everything else: https://developers.google.com/custom-search/v1/reference/rest/v1/cse/list#request

Functions

func Search(input string) (common.WebSearchResults, error)

func SearchImage

func SearchImage(input string) (common.ImageSearchResults, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL