# Ika3 [![CircleCI](https://dl.circleci.com/status-badge/img/gh/YutaGoto/ika3/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/YutaGoto/ika3/tree/main) [![Ruby Style Guide](https://img.shields.io/badge/code_style-rubocop-brightgreen.svg)](https://github.com/rubocop/rubocop) Weapon data from Splatoon3. This is Unofficial data. ## Installation Install the gem and add to the application's Gemfile by executing: $ bundle add ika3 If bundler is not being used to manage dependencies, install the gem by executing: $ gem install ika3 ## Usage ```ruby require "ika3" ``` ### Find Weapon data ```ruby wakaba = Ika3::Weapon.find_by_name("わかばシューター") => {:name=>"わかばシューター", :sub=>"スプラボム", :special=>"グレートバリア"} wakaba.special => "グレートバリア" ``` ### Get Weapons from Sub-Weapon ```ruby splatbombs = Ika3::Weapon.filter_by_sub("スプラボム") splatbombs => [{:name=>"わかばシューター", :sub=>"スプラボム", :special=>"グレートバリア"}, {:name=>"スプラチャージャー", :sub=>"スプラボム", :special=>"キューインキ"}, {:name=>"スプラスコープ", :sub=>"スプラボム", :special=>"キューインキ"}, {:name=>"ノヴァブラスター", :sub=>"スプラボム", :special=>"ショクワンダー"}, {:name=>"クラッシュブラスター", :sub=>"スプラボム", :special=>"ウルトラショット"}, {:name=>"パブロ", :sub=>"スプラボム", :special=>"メガホンレーザー5.1ch"}] ``` ### Get Schedule Initialize with your contact information. e.g. Twitter, GitHub, Homepage URL and so on. ```ruby ika3_schedule = Ika3::Schedule.new('GitHub@YutaGoto') ika3_schedule.bankara_challenge_next => {"start_time"=>"2023-02-07T13:00:00+09:00", "end_time"=>"2023-02-07T15:00:00+09:00", "rule"=>{"key"=>"LOFT", "name"=>"ガチヤグラ"}, "stages"=> [{"id"=>9, "name"=>"ヒラメが丘団地", "image"=> "https://....."}, {"id"=>11, "name"=>"キンメダイ美術館", "image"=> "https://...."}], "is_fest"=>false} ``` ## Note This gem is NOT related to Nintendo. The Schedule is used an unofficial API. ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/YutaGoto/ika3. ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).