Options
All
  • Public
  • Public/Protected
  • All
Menu
description

This class handles managing of leaderboard related actions

Currently includes 1 method, which is responsible for fetching of leaders list, which will be rendered in component

example

Using the LeaderboardService class

  const leaderBoardService = new LeaderboardService();
console.log(leaderBoardService.getLeaderboard());
since

v0.3.2

Hierarchy

Index

Constructors

Properties

baseUrl: string = ...

This property is used to define the base URL which is queried with each HTTP request executed using this backend service.

example:

"http://localhost:7903"

access

protected

var

{string}

Accessors

Methods

  • getDateFormatForPeriod(periodFormat: string): string
  • getUrl(endpoint: string): string

Generated using TypeDoc