Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

52 lines (36 sloc) 2.112 kb

Snoother

Summary

Snoother is a gem for accessing the Snooth database and is modeled after their own PHP library.

Snooth is a social-based wine shopping website. They claim to have the world's largest wine database. That database is available through the Snooth API and this gem exposes the api for use in your Ruby project.

Project Notes

This is not yet ready for use!

Todo: figure out how to test without hitting the api on every test. Maybe take a look at VCR?

Setup

  1. Get a Snooth API key here
  2. Rename config.yml.example to config.yml
  3. Add your API key to config.yml
  4. Run bundle
  5. Checkout demo.rb included

Development Setup

  1. Get a Snooth API key here
  2. Rename config.yml.example to config.yml
  3. Add your API key to config.yml
  4. Run bundle
  5. Run rake to run the tests and make sure everything is working properly

License

Snoother is released under the MIT license.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Jump to Line
Something went wrong with that request. Please try again.