module Jikan
Constants
- BASE_URL
- BASE_URL_SSL
- BASE_URL_V3
- BASE_URL_V3_SSL
- FLAGS
- VERSION
Public Class Methods
anime(id, flag=nil)
click to toggle source
shortcut methods
# File lib/jikan.rb, line 24 def self.anime(id, flag=nil) Jikan::Query.new.anime_id(id, flag) end
character(id, flag=nil)
click to toggle source
# File lib/jikan.rb, line 32 def self.character(id, flag=nil) Jikan::Query.new.character_id(id, flag) end
club(id, flag=nil)
click to toggle source
# File lib/jikan.rb, line 48 def self.club(id, flag=nil) Jikan::Query.new.club(id, flag) end
manga(id, flag=nil)
click to toggle source
# File lib/jikan.rb, line 28 def self.manga(id, flag=nil) Jikan::Query.new.manga_id(id, flag) end
person(id, flag=nil)
click to toggle source
# File lib/jikan.rb, line 36 def self.person(id, flag=nil) Jikan::Query.new.person_id(id, flag) end
search(query, flag=:anime, page=1)
click to toggle source
# File lib/jikan.rb, line 40 def self.search(query, flag=:anime, page=1) Jikan::Query.new.search(query, flag, page) end
season(season, year)
click to toggle source
# File lib/jikan.rb, line 44 def self.season(season, year) Jikan::Query.new.season(season, year) end
user(name, flag=nil)
click to toggle source
# File lib/jikan.rb, line 52 def self.user(name, flag=nil) Jikan::Query.new.user(name, flag) end