postbrowse_recommendation: Post Browsed Products Recommendation

Description Usage Arguments Value References Examples

View source: R/postbrowse_recommendation.R

Description

This function allows you to recommend products to someone based on their product viewing history and returns top 10 post browsed products for an item.

Usage

1
postbrowse_recommendation(apikey = NULL, itemId)

Arguments

apikey

Your API access key authorized by Walmart API (Required)

itemId

The item id associated with an item on Walmart.com. This can be generally seen in the last 8 digits of a URL string, but can also be acquired by using the product_lookup function (Required)

Value

Returns an RDS file named "postbrowse_recommendation_output.RDS".

References

https://developer.walmartlabs.com/docs/read/Post_Browsed_Products_API

Examples

1
2
apikey = "YOUR API KEY"
postbrowse_recommendation(apikey, "36904791")

Elkamao/walmartR documentation built on May 24, 2019, 5:02 a.m.