Skip to content

YutaGoto/ika3

Folders and files

NameName
Last commit message
Last commit date
Jan 7, 2025
Dec 18, 2022
Apr 12, 2023
Apr 12, 2023
Oct 27, 2024
Nov 8, 2024
Feb 4, 2025
Oct 27, 2024
Feb 1, 2023
Nov 28, 2022
Nov 13, 2022
Nov 3, 2024
Aug 8, 2024
Jan 21, 2025
Feb 17, 2025
Nov 13, 2022
May 30, 2023
Apr 12, 2023
Feb 1, 2024
Nov 3, 2024
Feb 3, 2024
Feb 3, 2024

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.