Skip to content
This repository has been archived by the owner on Feb 2, 2018. It is now read-only.

qnyp/smiling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smiling

Build Status Coverage Status Code Climate Documentation Status

API wrapper for Nico Nico Douga.

Prerequisite

  • Ruby 1.9.3
  • Ruby 2.0.0-p0

Installation

Add this line to your application's Gemfile:

gem 'smiling'

And then execute:

$ bundle

Or install it yourself as:

$ gem install smiling

Usage

Fetch video information via getthumbinfo API.

video = Smiling.video('sm9')
puts video.title

video.tags['jp'] do |tag|
  # tag is an instance of Smiling::Video
  print tag.value
  puts ' (lock)' if tag.locked?
end

See also: Nico Nico Douga API

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

💤 A Ruby wrapper for the Nico Nico Douga API.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages