Skip to content
Ruby gem for hacking RUssian Post site
Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
test
.gitignore
.travis.yml
Gemfile
Gemfile.lock
README.md
Rakefile
russian_post.gemspec

README.md

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"
You can’t perform that action at this time.