<commit_before>Zillashop
=========

A Ruby on Rails plugin for interacting with the Shopzilla Catalog API.

Installation
============

    script/plugin install git://github.com/xxx/zillashop.git

Configuration
=============

Create a `zillashop.yml` in app/config that looks something like...

    development:
      :api_key: <KEY>
      :publisher_id: 11111

    staging:
      :api_key: <KEY>
      :publisher_id: 11111

    production:
      :api_key: <KEY>
      :publisher_id: 11111

... replacing the api_key and publisher_id placeholders with your own values
received from Shopzilla.

Usage
=====

    zilla = Zillashop.new

    zilla.product(:keyword => 'apple ipod')
    zilla.taxonomy(:keyword => 'apple ipod')
    zilla.brand(:keyword => 'apple')
    zilla.merchant_info(:keyword => 'amazon')

Search methods return a result object created from the XML results received from Shopzilla.
See the docs for more info.

Other Shopzilla parameters can be passed into the search methods as well.
Either the raw name from Shopzilla (e.g. `'maxPrice'` or `:maxPrice`) or
more Ruby-like naming (e.g. `'max_price'` or `:max_price`) should work.
Please see the Shopzilla documentation for their canonical list of parameters.

Full documentation online at http://yardoc.org/docs/xxx-zillashop

YARD documentation can be generated locally with the `yardoc` command if you havfe the yard gem installed.

Copyright & Disclaimer
======================

Copyright (c) 2010 <NAME>, <EMAIL>, released under the MIT license

This plugin is not owned or endorsed by Shopzilla or BizRate in any way.<commit_msg>link up docs in README<commit_after>Zillashop
=========

A Ruby on Rails plugin for interacting with the Shopzilla Catalog API.

Installation
============

    script/plugin install git://github.com/xxx/zillashop.git

Configuration
=============

Create a `zillashop.yml` in app/config that looks something like...

    development:
      :api_key: <KEY>
      :publisher_id: 11111

    staging:
      :api_key: <KEY>
      :publisher_id: 11111

    production:
      :api_key: <KEY>
      :publisher_id: 11111

... replacing the api_key and publisher_id placeholders with your own values
received from Shopzilla.

Usage
=====

    zilla = Zillashop.new

    zilla.product(:keyword => 'apple ipod')
    zilla.taxonomy(:keyword => 'apple ipod')
    zilla.brand(:keyword => 'apple')
    zilla.merchant_info(:keyword => 'amazon')

Search methods return a result object created from the XML results received from Shopzilla.
See the docs for more info.

Other Shopzilla parameters can be passed into the search methods as well.
Either the raw name from Shopzilla (e.g. `'maxPrice'` or `:maxPrice`) or
more Ruby-like naming (e.g. `'max_price'` or `:max_price`) should work.
Please see the Shopzilla documentation for their canonical list of parameters.

Full documentation online at [http://yardoc.org/docs/xxx-zillashop](http://yardoc.org/docs/xxx-zillashop)

YARD documentation can be generated locally with the `yardoc` command if you havfe the yard gem installed.

Copyright & Disclaimer
======================

Copyright (c) 2010 <NAME>, <EMAIL>, released under the MIT license

This plugin is not owned or endorsed by Shopzilla or BizRate in any way.
{'fraction_non_alphanumeric': 0.11842509996924024, 'fraction_numerical': 0.01168871116579514, 'mean_word_length': 3.980091883614089, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 21, 'https://': 0, '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': '1232251', 'n_tokens_mistral': 1020, 'n_tokens_neox': 920, 'n_words': 361}