Project

ivapi

0.01
No commit activity in last 3 years
No release in over 3 years
Gem which helps to communicate with https://www.iv.lt API.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.2
~> 0.2
~> 13.0
~> 3.10
~> 1.8
~> 0.20
~> 3.11

Runtime

 Project Readme

Ivapi

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

Gem Version Coverage Status

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 versions:

  • Ruby 2.5.0
  • Ruby 2.6.0
  • Ruby 2.7.0
  • Ruby 3.0.0

License

The package is available as open source under the terms of the MIT License.