0.0
No commit activity in last 3 years
No release in over 3 years
This gem scrapes GGXrd official frame data page (http://www.4gamer.net/guide/ggxrd/) and gives you the result as a hash.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.8
~> 5.8
~> 10.0
~> 3.3

Runtime

~> 2.7
 Project Readme

GGXrd::Frames

This gem scrapes GGXrd official frame data page (http://www.4gamer.net/guide/ggxrd/) and gives you the result as a hash.

Installation

Add this line to your application's Gemfile:

gem 'ggxrd-frames'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ggxrd-frames

Usage

require 'ggxrd/frames'

client = GGXrd::Frames.new
pp client.frame_of('SO')[25]

## ==>
##   {"name"=>"ヴォルカニックヴァイパー(HS)",
##    "damage"=>"40・25",
##    "tension"=>"300 / 480・720",
##    "attack_lv"=>"2",
##    "risc_lv"=>"-7 / +10",
##    "prorate"=>"―",
##    "attribute"=>"上",
##    "startup"=>"5",
##    "active"=>"2(3)18",
##    "recovery"=>"29+着地後8",
##    "frame_adv"=>"- 41",
##    "invincibility"=>"1〜6無,7〜11打,7〜空",
##    "remarks"=>""}

The argumet is the abbrev. of each character name. You can confirm all names by:

pp GGXrd::Frames::CHARACTERS.keys

## ==>
##   [:SO,
##    :SO_DI,
##    :KY,
##    :MA,
##    :MI,
##    :ZT,
##    :PO,
##    ...]

Caveat

The result is written in Japanese because the official site is written in Japanese.

Development

After checking out the repo, run bin/setup to install dependencies. Then, run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release to create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

  1. Fork it ( https://github.com/[my-github-username]/ggxrd-frames/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request