amazon

package
v0.0.0-...-7c4a8a6 Latest Latest
Warning

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

Go to latest
Published: May 21, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Done = errors.New("DONE")
View Source
var TransactionPerDayExhausted = errors.New("TPD is exhausted")

Functions

This section is empty.

Types

type BrowseNodeItemCursor

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

func (*BrowseNodeItemCursor) CurMinPrice

func (g *BrowseNodeItemCursor) CurMinPrice() int

func (*BrowseNodeItemCursor) CurPage

func (g *BrowseNodeItemCursor) CurPage() int

func (*BrowseNodeItemCursor) Next

func (g *BrowseNodeItemCursor) Next(ctx context.Context) ([]api.Item, error)

type Client

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

func NewClient

func NewClient(partnerTag, accessKey, secretKey string) (*Client, error)

func (*Client) GetBrowseNodes

func (c *Client) GetBrowseNodes(ctx context.Context, browseNodeIDs []string) ([]api.BrowseNode, error)

GetBrowseNodes gets browse nodes (categories) by id list

func (*Client) NewBrowseNodeItemCursor

func (c *Client) NewBrowseNodeItemCursor(browseNodeID string, minPrice int, maxPrice int) *BrowseNodeItemCursor

func (*Client) SearchItems

func (c *Client) SearchItems(ctx context.Context, params *api.SearchItemsParams) (*api.SearchResult, error)

Jump to

Keyboard shortcuts

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