ArhArchive API Ruby interface
This is a Ruby client that enables you to easily perform using [ArhArchive] for save images.
Prerequisites
Ruby 2.7+ and RubyGems subsystem is required.
Installation
Install this gem by running:
$ gem install arh_archive
Or add it to your Gemfile
:
gem 'arh_archive'
And run:
bundle install
Usage
Include the client in your script:
require 'arh_archive'
Next, instantiate the client:
client = ArhArchive.client
And perform:
client.save_images(number_of_document, page_from, page_to)
Additional request parameters
Directory for save images.
client.save_images(number_of_document, page_from, page_to, directory)
Licensed under the MIT license.