func (c *Client) Articles() (*Articles, error) {
	ref := "Assortment.aspx?Format=Xml"

	articles := &Articles{}
	res, err := c.get(ref)
	if err != nil {
		return nil, err
	}
	defer res.Body.Close()

	if err = xml.NewDecoder(res.Body).Decode(articles); err != nil {
		return nil, err
	}

	return articles, err
}
// Returns all articles. Note: downloads large XML file.
Returns all articles. Note: downloads large XML file.
// Returns all articles . Note : downloads large XML file .
func (c *Client) Articles() (*Articles, error) {
	ref := "Assortment.aspx?Format=Xml"
	articles := &Articles{}
	res, err := c.get(ref)
	if err != nil {
		return nil, err
	}
	defer res.Body.Close()
	if err = xml.NewDecoder(res.Body).Decode(articles); err != nil {
		return nil, err
	}
	return articles, err
}
func ( c * Client ) Articles ( ) ( * Articles , error ) { ref := " " articles := & Articles { } res , err := c . get ( ref ) if err != nil { return nil , err } defer res . Body . Close ( ) if err = xml . NewDecoder ( res . Body ) . Decode ( articles ) ; err != nil { return nil , err } return articles , err }
Returns all articles.
Returns all articles .