duckduckgoapi

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Endpoint  = "https://quack.duckduckgo.com/api"
	UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"
)

Variables

This section is empty.

Functions

func GetAccessToken

func GetAccessToken(refreshToken string) (string, error)

func GetEmail

func GetEmail(accessToken string) (string, error)

func InitiateLogin

func InitiateLogin(username string) error

func LoginWithOtp

func LoginWithOtp(username, otp string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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