Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
ex.ua API
Ruby
tree: 7c075fd5a9

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.gitignore
Gemfile
README.md
Rakefile
ex_ua.gemspec

README.md

Description

ex_ua library gives you some API to access http://ex.ua/ Docs: http://rubydoc.info/github/Antti/ex_ua/master/frames

Install

gem install ex_ua

Example usage

require 'ex_ua'
client = ExUA::Client.new
base_categories = client.base_categories('ru') # Gives you array of all base categories for a given language
category = base_categories.first # Select first category (usually video)
sub_categories = category.categories # Select sub-categories of a category
example_video_category = sub_categories.first.categories.first
download_items = example_video_category.items # Here you'll have an array of download items in a given category with #download_url
Something went wrong with that request. Please try again.