Module: NicoAPI
- Defined in:
- lib/nicoapi.rb,
lib/nicoapi/base.rb,
lib/nicoapi/version.rb,
lib/nicoapi/mylist_rss.rb,
lib/nicoapi/tag_search.rb,
lib/nicoapi/hash_mapper.rb,
lib/nicoapi/http_client.rb,
lib/nicoapi/video_array.rb,
lib/nicoapi/getthumbinfo.rb
Defined Under Namespace
Modules: Base, HashMapper
Classes: GetThumbInfo, HttpClient, MylistRSS, TagSearch, VideoArray
Constant Summary
collapse
- VERSION =
"0.0.6.1"
Class Method Summary
collapse
Class Method Details
.getthumbinfo(video_id) ⇒ Object
9
10
11
12
|
# File 'lib/nicoapi.rb', line 9
def getthumbinfo(video_id)
instance = NicoAPI::GetThumbInfo.new video_id
instance.get
end
|
.mylist(mylist_id) ⇒ Object
27
28
29
30
|
# File 'lib/nicoapi.rb', line 27
def mylist(mylist_id)
instance = NicoAPI::Mylist.new mylist_id
instance.get
end
|
.tag_search(tag: tag, sort: sort, order: order, page: page) ⇒ Object
19
20
21
22
23
24
25
|
# File 'lib/nicoapi.rb', line 19
def tag_search(tag: tag, sort: sort, order: order, page: page)
instance = NicoAPI::TagSearch.new tag: tag,
sort: sort,
order: order,
page: page
instance.get
end
|
.video_array(video_id_array) ⇒ Object
14
15
16
17
|
# File 'lib/nicoapi.rb', line 14
def video_array(video_id_array)
instance = NicoAPI::VideoArray.new video_id_array
instance.get
end
|