Booru (v0.0.1)
WARNING: Use at your own risk, this is still very early in development and subject to large changes.
That being said, the downloader is mostly stable.
The Booru client API methods are all mapped out, but are not tested and provide no real checks or defaults at the moment (currently in progress). Presumably, so long as you pass valid option hashes to the methods, they should work. Happy hacking.
Installation
gem install booru
Downloader Usage
booru -b konachan -m 10 --sfw "touhou blue"
API Usage
require 'booru'
b = Booru::Yandere.new
params = { :limit => 100,
:page =>1,
:tags => "k-on! akiyama_mio nakano_azusa"
}
posts = b.list_posts(params) # returns an array of hashes
puts posts.inspect
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
License
MIT License. See LICENSE file for details.
Authors
David Palma