boxx_loki
BoxxLoki - the Ruby gem for the Recommendation API 2
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
This SDK is automatically generated by the Swagger Codegen project:
- API version: 1.5.0
- Package version: 1.5.0
- Build package: io.swagger.codegen.languages.RubyClientCodegen
Installation
Build a gem
To build the Ruby code into a gem:
gem build boxx_loki.gemspec
Then either install the gem locally:
gem install ./boxx_loki-1.5.0.gem
(for development, run gem install --dev ./boxx_loki-1.5.0.gem
to install the development dependencies)
or publish the gem to a gem hosting service, e.g. RubyGems.
Finally add this to the Gemfile:
gem 'boxx_loki', '~> 1.5.0'
Install from Git
If the Ruby gem is hosted at a git repository: https://github.com/YOUR_GIT_USERNAME/YOUR_GIT_REPO, then add the following in the Gemfile:
gem 'boxx_loki', :git => 'https://github.com/YOUR_GIT_USERNAME/YOUR_GIT_REPO.git'
Include the Ruby code directly
Include the Ruby code directly using -I
as follows:
ruby -Ilib script.rb
Getting Started
Please follow the installation procedure and then run the following code:
# Load the gem
require 'boxx_loki'
api_instance = BoxxLoki::RecommendationApi.new
request_data = BoxxLoki::RecommendationRequestData.new # RecommendationRequestData | request data
begin
result = api_instance.root_post(request_data)
p result
rescue BoxxLoki::ApiError => e
puts "Exception when calling RecommendationApi->root_post: #{e}"
end
Documentation for API Endpoints
All URIs are relative to http://loki.boxx.ai
Class | Method | HTTP request | Description |
---|---|---|---|
BoxxLoki::RecommendationApi | root_post | POST / |
Documentation for Models
- BoxxLoki::InlineResponse200
- BoxxLoki::InlineResponse400
- BoxxLoki::RecommendationRequestData
- BoxxLoki::RecommendationRequestDataQuery
Documentation for Authorization
All endpoints do not require authorization.