CodestatsAPI.Stats (codestats_api v0.3.0)

View Source

Structure containing all the user's stats.

Summary

Functions

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

Types

t()

@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

parse(input)

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

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