Russian Post Tools

Code Climate Build Status Dependency Status

Installation

Add this line to your application's Gemfile:

gem 'russian_post'

And then execute:

$ bundle

Or install it yourself as:

$ gem install russian_post

Usage

Postal tracking

require 'russian_post'

RussianPost::Tracking.new(tracking_code).track
# => [{...}, {...}, {...}]

Captcha recognizer

require 'russian_post'

RussianPost::Captcha.for_url(captcha_url).text
# => "96950"

RussianPost::Captcha.for_data(png_blob).text
# => "43455"