paginted: Looks up product information

Description Usage Arguments Details Value Examples

View source: R/paginated.R

Description

lookup gives access to item price and availability in real-time.

Usage

1
2
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 taxonomy function.

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## 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)

EmilHvitfeldt/walmartAPI documentation built on April 23, 2020, 8:26 a.m.