Sha256: fb12cdcce3e1fe7cd32faf11313bdb7bf65e1dce7f60d25ce0154f73efc840cf

Contents?: true

Size: 629 Bytes

Versions: 2

Compression:

Stored size: 629 Bytes

Contents

require "nv/version"
require "nv/config"
require "nv/niconico"
require "nv/cli"

=begin

nico = Niconico.new.sign_in(...)
video = nico.video('sm9')
video.download('./')

mylist = nico.mylist('482029')
mylist.download()

include Niconico::Helper
if mylist? 'http://...'
  ...
end

   ##### Way #####

1. nico = Niconico::Base.new.sign_in(...)
   video = nico.video('sm9') => Niconico::Video
   puts video.id
   video.download

2. video = Niconico::Video.new('sm9')
   video.sign_in(...)
   video.download

=end

module Nv
  class LackOfInformation < StandardError; end

  CONFIG_PATH = File.join(ENV['HOME'], '.config', 'nv')
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nv-1.0.1 lib/nv.rb
nv-1.0.0 lib/nv.rb