View Source CodestatsApi.Stats (codestats_api v0.1.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.