Sha256: 4b44243536772163c527cd539ce2bce75d9230156927bd0029e25634d6b76d26

Contents?: true

Size: 1.67 KB

Versions: 4

Compression:

Stored size: 1.67 KB

Contents

# SearchSpring
[![Build Status](https://api.travis-ci.org/parallel588/search_spring.svg?branch=master)](https://api.travis-ci.org/parallel588/search_spring.svg?branch=master)

What is SearchSpring?
----------------

SearchSpring provides advanced site search and category navigation solutions to the worlds' top eCommerce retailers. Delivering the best possible results. https://searchspring.com/

What does this Gem do?
----------------------
* implementation Live Indexing API (https://searchspring.zendesk.com/hc/en-us/articles/202518745-SearchSpring-Live-Indexing-API)

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'search_spring'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install search_spring

## Usage

```ruby
client = SearchSpring::Client.new(site_id, secret_key)

client.upsert(feed_id: '1234', products: [{id: '1', title: 'Product title'}])
client.update(feed_id: '1234', products: [{id: '1', title: 'Product title'}])
client.delete(feed_id: '1234', product_ids: [1])

```

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/parallel588/search_spring

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
search_spring-0.2.6 README.md
search_spring-0.2.5 README.md
search_spring-0.2.1 README.md
search_spring-0.2.0 README.md