serpapi

package
v0.0.0-...-56865d5 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package serpapi contains an implementation of the tool interface with the serapi.

Index

Constants

This section is empty.

Variables

View Source
var ErrMissingToken = errors.New("missing the serpapi API key, set it in the SERPAPI_API_KEY environment variable")

Functions

This section is empty.

Types

type Tool

type Tool struct {
	// contains filtered or unexported fields
}

func New

func New() (*Tool, error)

New creates a new serpapi tool to search on internet.

func (Tool) Call

func (t Tool) Call(ctx context.Context, input string) (string, error)

func (Tool) Description

func (t Tool) Description() string

func (Tool) Name

func (t Tool) Name() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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