Typeracer
This is a wrapper for Typeracer user statistics API.
Installation
-
Add
typeracerto your list of dependencies inmix.exs:
```elixir
def deps do
[{:typeracer, "~> 0.1.0"}]
end
```-
Ensure
typeraceris started before your application:
```elixir
def application do
[applications: [:typeracer]]
end
```Usage
To get information about a user with id "typeracer" call:
Typeracer.get_user("typeracer")It will return a Typeracer.User struct with useful information.