Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
A Client can be used to make requests to the Etsy API, in a way that is compliant with the app.CommerceVendor interface.
func NewClientFromEnv ¶
NewClientFromEnv attempts to initialize an etsy.Client using an API key source from the environment.
func (*Client) GetProductByID ¶
GetProductByID will fetch an Etsy product by its ID number.
func (*Client) Search ¶
func (c *Client) Search( ctx context.Context, q app.CommerceQuery, ) ([]app.CommerceProduct, error)
Search will query the Etsy catalog and return matching items.
Click to show internal directories.
Click to hide internal directories.