ErogameScape (エロゲー批評空間) scraper
$ bundle add erogamescape
Or install globally:
$ gem install erogamescape
result = Erogamescape.query(<<SQL)
SELECT id, brandname, median
FROM brandlist
WHERE id = 1
SQL
result.size # 1
result.first # { "id" => "1", "brandname" => "âge(age)", "median" => "81" }
RBS file (type definition) for this gem is bundled by default.
If you are using Steep, add library "erogamescape"
to your Steepfile
. No other setup is required.
# Steepfile (example)
target :lib do
signature "sig"
check "lib"
library "erogamescape" # add this line!
end
Run bin/setup
to set up the project.
Some useful commands are available:
bundle exec rake test
: run the testsbin/console
: an interactive prompt that will allow you to experiment
Bug reports and pull requests are welcome on GitHub at https://github.com/fabon-f/erogamescape.rb.