Project

smiling

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
API wrapper for Nico Nico Douga (experimental)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.6.4
~> 10.0.4
~> 4.0.1
~> 2.13.0
= 0.7.1
~> 1.11.0

Runtime

~> 0.10.0
~> 1.5.0
 Project Readme

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