class BlizzardApi::Wow::MythicKeystone
This class allows access to World of Warcraft achievements
@see develop.battle.net/documentation/api-reference/world-of-warcraft-game-data-api
You can get an instance of this class using the default region as follows:
api_instance = BlizzardApi::Wow.mythic_keystone
Public Instance Methods
# File lib/blizzard_api/wow/game_data/mythic_keystone.rb, line 17 def complete raise BlizzardApi::ApiException, 'There are too many creatures to fetch complete data' end
Fetch all possible data for one of the items listed by the {#dungeons} using its id
@param id [Integer] Dungeon id
@!macro request_options
@!macro response
# File lib/blizzard_api/wow/game_data/mythic_keystone.rb, line 39 def dungeon(id, **options) api_request "#{endpoint_uri}/dungeon/#{id}", **default_options.merge(options) end
Fetch all mythic keystone dungeons
@!macro request_options
@!macro response
# File lib/blizzard_api/wow/game_data/mythic_keystone.rb, line 27 def dungeons(**options) api_request "#{endpoint_uri}/dungeon/index", **default_options.merge(options) end
# File lib/blizzard_api/wow/game_data/mythic_keystone.rb, line 13 def get raise BlizzardApi::ApiException, 'Mythic keystone endpoint does not have a get method' end
Fetch all possible data for one of the items listed by the {#periods} using its id
@param id [Integer] Mythic keystone period id
@!macro request_options
@!macro response
# File lib/blizzard_api/wow/game_data/mythic_keystone.rb, line 61 def period(id, **options) api_request "#{endpoint_uri}/period/#{id}", **default_options.merge(options) end
Fetch all mythic keystone periods
@!macro request_options
@!macro response
# File lib/blizzard_api/wow/game_data/mythic_keystone.rb, line 49 def periods(**options) api_request "#{endpoint_uri}/period/index", **default_options.merge(options) end
Fetch all possible data for one of the items listed by the {#seasons} using its id
@param id [Integer] Mythic keystone season id
@!macro request_options
@!macro response
# File lib/blizzard_api/wow/game_data/mythic_keystone.rb, line 83 def season(id, **options) api_request "#{endpoint_uri}/season/#{id}", **default_options.merge(options) end
Fetch all mythic keystone seasons
@!macro request_options
@!macro response
# File lib/blizzard_api/wow/game_data/mythic_keystone.rb, line 71 def seasons(**options) api_request "#{endpoint_uri}/season/index", **default_options.merge(options) end
Protected Instance Methods
# File lib/blizzard_api/wow/game_data/mythic_keystone.rb, line 89 def endpoint_setup @endpoint = 'mythic-keystone' @namespace = :dynamic @collection = 'mythic-keystones' @ttl = CACHE_TRIMESTER end