Marketing API Version

ProductFeed

Fields

country, delimiter, encoding, file_name, format, id, name, quotes, schedule

ProductFeed.get_products (fields, params)

Returns an iterator over all the products in a product feed

Name Type Description Required

fields

array

A list of fields to read.

No

params

map

A mapping of request parameters where a key is the parameter name and its value is a string or an object which can be JSON-encoded.

No

Sample Code

feed = ProductFeed('464248197095749')
products = feed.get_products(fields=[
    Product.Field.title,
    Product.Field.price,
])
if products:
    print products