Module: Smiten

Defined in:
lib/smiten/api.rb,
lib/smiten/core.rb,
lib/smiten/smite.rb,
lib/smiten/version.rb,
lib/smiten/paladins.rb

Defined Under Namespace

Classes: Core, Error, Paladins, Smite

Constant Summary collapse

PaladinsEndpoint =

:nodoc:

'https://api.paladins.com/paladinsapi.svc'
SmiteEndpoint =

:nodoc:

'https://api.smitegame.com/smiteapi.svc'
FifteenMins =

At what interval do we need to refresh the session_id

(15 * 60 * 60) - 10
ResponseFormat =

The responses are always encoded using JSON

'Json'
Portal =
{ hi_rez: 1, steam: 5, ps4: 9, xbox: 10, switch: 22, discord: 25, epic: 28 }.freeze
LanguageCode =
{ english: 1, german: 2, french: 3, chinese: 5, spanish: 7, spanish_latin_america: 9, portuguese: 10, russian: 11, polish: 12 }.freeze
QueueCode =
{ live_siege: 424, conquest: 426, joust_ranked_1v1: 440, joust_ranked_3v3: 450, conquest_ranked: 451, live_competitive_gamepad: 428 }.freeze
VERSION =
"0.1.1"