nyttest

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	TestGetMostPopular        func(string, string, uint) ([]*nyt.MostPopularResult, error)
	TestSemanticConceptSearch func(string, string) ([]*nyt.SemanticConceptArticle, error)
}

func (*Client) GetMostPopular

func (t *Client) GetMostPopular(resourceType, section string, timeframe uint) ([]*nyt.MostPopularResult, error)

func (*Client) SemanticConceptSearch

func (t *Client) SemanticConceptSearch(conceptType, concept string) ([]*nyt.SemanticConceptArticle, error)

Jump to

Keyboard shortcuts

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