Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aspectHistogram and aspectFilter #8

Closed
mango314 opened this issue Nov 29, 2011 · 1 comment
Closed

aspectHistogram and aspectFilter #8

mango314 opened this issue Nov 29, 2011 · 1 comment
Assignees

Comments

@mango314
Copy link

I'm learning to check ebay prices with python using this library. I use eval to get a Python dictionary (or else I get a string). This snipped should have the aspect Histogram somewhere... (so I can restrict my search to different brands of tablets and laptops).

from ebay.finding import *
ebayResponse = eval(findItemsByKeywords(keyword="ipod", outputSelector=['AspectHistogram']))

I have been able to get the histogram from the getHistograms function directly.

ebayResponse = eval(getHistograms(categoryId="171485"))

When I try to use the aspect filters, I get into trouble? Maybe

ebayResponse = eval(findItemsByCategory(categoryId='171485', aspectFilter=[{"Brand":"Amazon"}]))

It doesn't seem to restrict to Amazon brand tablets (e.g. includes iPads).

@utsengar
Copy link
Collaborator

There was a bug in the code, I have fixed it from the browser editor, please do git pull and it should work now!

Commit: 0f206e0

@ghost ghost assigned utsengar Nov 30, 2011
@utsengar utsengar closed this as completed Apr 4, 2012
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

No branches or pull requests

2 participants