Skip to content

Add support for trends#22

Open
gordon-leung wants to merge 1 commit intolistia:masterfrom
gordon-leung:support-trends
Open

Add support for trends#22
gordon-leung wants to merge 1 commit intolistia:masterfrom
gordon-leung:support-trends

Conversation

@gordon-leung
Copy link

Add support for Trending API.

Returns trending items on walmart.com

private

def parse_response(response)
response.parsed_response["items"].map do |item_hash|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gal3 do you know if items can ever be nil?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately their docs do not say, but I have not seen it be nil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants