Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jmdeldin/four_tell
API bindings for 4-Tell.com
https://github.com/jmdeldin/four_tell
Last synced: about 1 month ago
JSON representation
API bindings for 4-Tell.com
- Host: GitHub
- URL: https://github.com/jmdeldin/four_tell
- Owner: jmdeldin
- License: mit
- Created: 2015-06-17T22:09:07.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2014-05-22T06:34:32.000Z (over 10 years ago)
- Last Synced: 2023-04-13T07:51:02.417Z (over 1 year ago)
- Language: Ruby
- Size: 119 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# FourTell
[![Build Status](https://travis-ci.org/TheClymb/four_tell.png?branch=master)](https://travis-ci.org/TheClymb/four_tell)
[![Code Climate](https://codeclimate.com/github/TheClymb/four_tell.png)](https://codeclimate.com/github/TheClymb/four_tell)Ruby API bindings for the [4-Tell](http://www.4-tell.com/)
personalization service.## Installation
FourTell supports Ruby 2.0+. Add this line to your application's
Gemfile:gem 'four_tell'
And then execute:
$ bundle
Or install it yourself as:
$ gem install four_tell
## Usage
See the
[documentation](http://rubydoc.info/github/TheClymb/four_tell/frames)
for more details.```ruby
require 'four_tell'
ft = FourTell.new('username', 'password', 'your_four_tell_client_alias')# see FourTell::Request for more details
req = ft.build_request
req.customer_id = 1# fetch a list of recommended product IDs
ft.recommendations(req)
```## Contributing
1. [Fork it](http://github.com/TheClymb/four_tell/fork)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request## Author
Built at [The Clymb](http://www.theclymb.com) by
- [Jon-Michael Deldin](https://github.com/jmdeldin)
- [Chris Kuttruff](https://github.com/ckuttruff)
- [Max Justus Spransy](https://github.com/maxjustus)PS: [We're hiring!](http://www.theclymb.com/careers)