عکس prp-e
Ruby GEM for aparat.comRuby
موضوع‌ها
۰
فورک‌ها
۰
ستاره‌ها
۴
تاریخ ایجاد
۵ آذر ۱۳۹۵
آخرین بروزرسانی
نزدیک ۴ سال قبل
لایسنس
BSD 3-Clause "New" or "Revised" License

Aparat Ruby Gem

I wrote this according to aparat API methods

How to use?

Just add this line in your Gemfile :

gem 'aparat', :git => 'https://github.com/prp-e/aparat.rb'

Methods

video

By using this :

Aparat.video(video_hash)

You'll see information of the given video hash.

categories

By using this :

Aparat.categories

You'll see all categories of aparat.com

vitrin

By using this :

Aparat.vitrin

You'll see all "vitrin" videos.

categoryVideos

This will show all videos of all categories :

Aparat.categroyVideos

mostViewed

This will return all most viewed videos :

Aparat.mostViewed

lastVideos

This will return last videos uploaded on aparat :

Aparat.lastVideos

official

This will return all official channels (businesses, celebrities, etc.)

Aparat.official

videoRecom

This will return recommendation of similar videos

Aparat.videoRecom(hash)