Ivapi
Gem which helps to communicate with Interneto vizija https://www.iv.lt (https://wwww.dedikuoti.lt) API.
Installation
Add this line to your application's Gemfile:
gem 'ivapi'And then execute:
$ bundleOr install it yourself as:
$ gem install ivapiUsage
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'
endAccount information
Basic information
Ivapi.account.informationOrders
Ivapi.account.ordersServer information
Basic information
Ivapi.server.informationSupported 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.