lib/nicoapi.rb in nicoapi-0.0.6 vs lib/nicoapi.rb in nicoapi-0.0.6.1

- old
+ new

@@ -15,13 +15,22 @@ instance = NicoAPI::VideoArray.new video_id_array instance.get end def tag_search(tag: tag, sort: sort, order: order, page: page) - instance = NicoAPI::TagSearch.new tag: tag, sort: sort, order: order, page: page + instance = NicoAPI::TagSearch.new tag: tag, + sort: sort, + order: order, + page: page instance.get end + def mylist(mylist_id) + instance = NicoAPI::Mylist.new mylist_id + instance.get + end + module_function :getthumbinfo module_function :video_array module_function :tag_search + module_function :mylist end