Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
ex.ua API
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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

README.md

Build Status

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'
base_categories = ExUA::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 #load_uri

Search

require 'ex_ua'
page = 0
per_page = 20
categories = ExUA::Client.search('futurama', page, per_page)
Something went wrong with that request. Please try again.