View Source CodestatsAPI.Stats (codestats_api v0.2.0)

Structure containing all the user's stats.

Summary

Functions

Parses the user's data from the Code::Stats API.

Types

@type t() :: %CodestatsAPI.Stats{
  dates: CodestatsAPI.Stats.Dates.t(),
  languages: CodestatsAPI.Stats.Languages.t(),
  machines: CodestatsAPI.Stats.Machines.t(),
  new_xp: CodestatsAPI.Stats.Xp.t(),
  total_xp: CodestatsAPI.Stats.Xp.t(),
  user: String.t()
}

Functions

@spec parse(map()) :: t()

Parses the user's data from the Code::Stats API.