Ivapi

Gem which helps to communicate with Interneto vizija http://iv.lt (http://dedikuoti.lt) API.

Gem Version Build Status Dependency Status Coverage Status Code Climate

Installation

Add this line to your application's Gemfile:

gem 'ivapi'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ivapi

Usage

The Ivapi Wiki has lots of additional information about this gem including many examples. Please browse the Wiki at: https://github.com/jpalumickas/ivapi/wiki

Create a new account at https://klientams.iv.lt/users.php with description "API".

Authentication

client = Ivapi::Client.new(username: 'foo', password: 'bar')

Or create file under config/initializers/ivapi.rb

Ivapi.configure do |config|
  config.username = 'foo'
  config.password = 'bar'
end

Account information

Basic information

Ivapi.account.information

Orders

Ivapi.account.orders

Server information

Basic information

Ivapi.server.information

Supported Ruby Versions

This library aims to support and is tested against the following Ruby implementations:

Copyright

Copyright (c) 2012-2016 Justas Palumickas. See LICENSE for details.