Skip to content

Package ddg provides an interface to the DuckDuckGo API.

License

Notifications You must be signed in to change notification settings

TheCreeper/go-ddg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-ddg

go-ddg

Package ddg provides an implementation of the DuckDuckGo API.

Example

package main

import (
	"log"
	"fmt"

	"github.com/TheCreeper/go-ddg"
)

func main() {

	c := ddg.NewClient()

	_, text, err := c.FeelingLucky("Ducks")
	if err != nil {

		log.Fatal(err)
	}

	fmt.Println(text)
}

About

Package ddg provides an interface to the DuckDuckGo API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages