+
Skip to content

YutaGoto/ika3

Repository files navigation

Ika3

CircleCI Ruby Style Guide Gem Version

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

require "ika3"

Find Weapon data

wakaba = Ika3::Weapon.find_by_name("わかばシューター")
=> {:name=>"わかばシューター", :sub=>"スプラッシュボム", :special=>"グレートバリア"}

wakaba.special
=> "グレートバリア"

Get Weapons from Sub-Weapon

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.

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. https://spla3.yuu26.com/

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.

About

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载