Sha256: 29284d59d2e0a9d6eef596c82c588c4259e97e12060cf515eaffb7ee90ba6e41

Contents?: true

Size: 913 Bytes

Versions: 2

Compression:

Stored size: 913 Bytes

Contents

# Ugigi

Ugigi Wrapper for Ruby

## Requirements

* Ruby

## Installation

	gem install ugigi

## Usage

	require "ugigi"
	
	# フリーワード検索で"ナズーリン"が含まれているSSを持ってくる
	naz_novels = Ugigi.search(:free => "ナズーリン")
	puts naz_novels.size
	
	# "寅丸星"がタグに設定されているSSを持ってくる
	novels = Ugigi.search(:tag => "寅丸星")
	novels.each do |novel|
		puts novel.title
	end
	
	# "にとり"が文章中に含まれているSSの数を持ってくる
	puts Ugigi.total_count(:free => "にとり")

	# 東方創想話に限定して検索
	puts Ugigi.search(:title => "霊夢", :only => :sosowa)

## 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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ugigi-0.4.1 README.md
ugigi-0.4 README.md