sagas/results

sagas/results

Methods

(async, generator, static) getLeagueTable(action) → {call|put|put}

Source:
Properties:
Name Type Description
action object
Properties
Name Type Description
payload object
Properties
Name Type Description
league number

League ID

Represent table of statistics for current season

Parameters:
Name Type Description
action object
Yields:
  • /game/standings/{leagueId}
    Type
    call
  • GET_LEAGUE_TABLE_SUCCESS
    Type
    put
  • SHOW_ERROR_MODAL
    Type
    put

(async, generator, static) getResults(action) → {call|put|put}

Source:
Properties:
Name Type Description
action object
Properties
Name Type Description
payload object

Represent tables of results for all finished weeks

Parameters:
Name Type Description
action object
Properties
Name Type Description
payload.league number

League ID

Yields:
  • /game/league/{leagueId}/results
    Type
    call
  • GET_RESULTS_TABLES_SUCCESS
    Type
    put
  • SHOW_ERROR_MODAL
    Type
    put

(async, static) module.exports() → {void}

Source:
Returns:
Type
void

Type Definitions

"getLeagueTable/response.data"

Source:
Properties:
Name Type Description
competition number
season number
week number
value string

Parsed data for evry match (match-points-last5)

Type:
  • object

"getResults/response.data"

Source:
Properties:
Name Type Description
leagueId number
roundId number
season number
currentWeek number
results Array

For evry week contain week id, matches and results

Type:
  • object