<commit_before># Peddler

[![travis][status]][travis]

![Peddler][mussels]

Peddler wraps the [Amazon Marketplace Web Service (MWS) APIs][mws].

## Notice

The current master is an early work-in-progress. I'll be wading through and
implementing the APIs as need dictates. Patches are more than welcome.

If you are looking for the wrapper to the deprecated AIM API,
[go here][old-peddler].

## Usage

```ruby
client = Peddler.new 'US', key:            'key',
                           marketplace_id: '123',
                           secret:         'secret'

client.get_lowest_offer_listings_for_asin '0143105825'
```

[status]: https://secure.travis-ci.org/hakanensari/peddler.png
[travis]: http://travis-ci.org/hakanensari/peddler
[old-peddler]: https://github.com/hakanensari/peddler/tree/v0.3.1
[mussels]: http://f.cl.ly/items/0W3V0A1Z110Q0x461b3H/mussels.jpeg
[mws]: https://developer.amazonservices.com/gp/mws/docs.html
<commit_msg>Fix example in README<commit_after># Peddler

[![travis][status]][travis]

![Peddler][mussels]

Peddler wraps the [Amazon Marketplace Web Service (MWS) APIs][mws].

## Notice

The current master is an early work-in-progress. I'll be wading through and
implementing the APIs as need dictates. Patches are more than welcome.

If you are looking for the wrapper to the deprecated AIM API,
[go here][old-peddler].

## Usage

```ruby
client = MWS::Client.new 'US'
client.configure do |c|
  c.key       = 'key'
  c.secret    = 'secret'
  c.seller_id = 'seller_id'
end

client.get_lowest_offer_listings_for_asin '0143105825'
```

[status]: https://secure.travis-ci.org/hakanensari/peddler.png
[travis]: http://travis-ci.org/hakanensari/peddler
[old-peddler]: https://github.com/hakanensari/peddler/tree/v0.3.1
[mussels]: http://f.cl.ly/items/0W3V0A1Z110Q0x461b3H/mussels.jpeg
[mws]: https://developer.amazonservices.com/gp/mws/docs.html

{'fraction_non_alphanumeric': 0.13842864778193478, 'fraction_numerical': 0.028327097808658473, 'mean_word_length': 3.9393139841688654, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1286889', 'n_tokens_mistral': 759, 'n_tokens_neox': 711, 'n_words': 155}