CodestatsAPI.Stats.Dates (codestats_api v0.3.0)

View Source

This map describes the amount of XP earned on each date.

Date in format YYYY-MM-DD is used as a key, and the amount of XP earned on that date is used as a value.

Summary

Functions

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

Types

t()

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

Functions

parse(input)

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

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