roopeshvaddepally/python-ebay — Issue #8: aspectHistogram and aspectFilter
Author: MonsieurCactus
Created: 2011-11-29 21:27:30+00:00
State: open

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).

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

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

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

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

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

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