paginted {walmartAPI} | R Documentation |
Looks up product information
Description
lookup
gives access to item price and availability in
real-time.
Usage
paginted(key = auth_cache$KEY, lsPublisherId = NULL, category = NULL,
brand = NULL, specialOffer = NULL, list_output = FALSE)
Arguments
key |
Your API access key. |
lsPublisherId |
Your LinkShare Publisher Id. |
category |
Category id of the desired category. This should match the
id field from |
brand |
Brand name. |
specialOffer |
Special offers like (rollback, clearance, specialBuy). |
list_output |
Indicator for list output. |
Details
An API key will be required to run this function and can be acquired by creating an account on the following website https://developer.walmartlabs.com/member.
For more information refer to the original documentation https://developer.walmartlabs.com/docs/read/Home.
Response formats are described at the url https://developer.walmartlabs.com/docs/read/Item_Field_Description.
Value
A tibble with 16 columns. First 15 is the items in base response format, followed by a column containing the URL path for the next page.
Examples
## Not run:
key <- "************************"
paginted(key = key, brand = "Apple")
paginted(key = key, category = 3944)
paginted(key = key, category = 3944, specialOffer = "rollback")
paginted(key = key, brand = "Apple", list_output = TRUE)
## End(Not run)