typeracer v0.1.2 Typeracer

Typeracer API wrapper

Summary

Functions

This function is used to fetch user’s statistics from the API

Functions

get_user(id, http_lib \\ HTTPoison)
This function is used to fetch user's statistics from the API.

##Examples

iex> {:ok, user} = Typeracer.get_user("typeracer")
iex> user.id
"tr:typeracer"