Skip to content

news-r/go-webhose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Go Report Card

go-webhose

Access webhose.io API from golang.

Install

go get github.com/news-r/go-webhose/webhose

Documentation is on godoc

Example

package main

import (
	"fmt"
	"go-webhose/webhose"
)

func main() {
	client := &webhose.NewsClient{Token: "xxXXXX-XXxxXX-xXXxxxXX-xXXXx", Query: "go programming language"}

	news := webhose.GetArticles(client, 2) // client and number of pages of result

	fmt.Println(news.News)
}

Releases

No releases published

Packages

No packages published

Languages