Module: BlizzardApi::ApiStandards

Included in:
Request
Defined in:
lib/blizzard_api/api_standards.rb

Overview

Default constants and helper functions for the API format

Constant Summary collapse

BASE_URLS =

Common endpoints

{
  game_data: 'https://%s.api.blizzard.com/data/%s',
  community: 'https://%s.api.blizzard.com/%s',
  profile: 'https://%s.api.blizzard.com/profile/%s',
  media: 'https://%s.api.blizzard.com/data/%s/media',
  user_profile: 'https://%s.api.blizzard.com/profile/user/%s',
  search: 'https://%s.api.blizzard.com/data/%s/search'
}.freeze