CodestatsAPI.Stats.Languages (codestats_api v0.3.0)

View Source

Map of programming lanuage names to XP.

Example: %{

"Elixir": %{
  new_xps: 100,
  xps: 464413
},
"Rust": %{
  new_xps: 0,
  xps: 500
}

}

Summary

Functions

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

Types

t()

@type t() :: %{
  required(String.t()) => %{
    new_xps: CodestatsAPI.Stats.Xp.t(),
    xps: CodestatsAPI.Stats.Xp.t()
  }
}

Functions

parse(input)

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

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