Skip to content

zilverline/ex_n26

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

N26

N26 API client for Elixir.

Installation

The package can be installed by adding n26 to your list of dependencies in mix.exs:

def deps do
  [
    {:n26, "~> 0.1.0"}
  ]
end

Documentation is published on HexDocs and can be found at https://hexdocs.pm/n26.

Usage

iex(1)> token = N26.Auth.get_token("[email protected]", "password")
"fed3b6e1-33e8-48d0-0c0a-79850e380fake"

iex(2)> token |> N26.Account.me
%{
  "birthDate" => 563932100000,
  "email" => "[email protected]",
  "firstName" => "John",
  "gender" => "MALE",
  "id" => "abc123",
  "lastName" => "Doe",
  "mobilePhoneNumber" => "+31611111111",
  "nationality" => "NLD",
  "shadowUserId" => "abc123",
  "signupCompleted" => false,
  "title" => "",
  "transferWiseTermsAccepted" => false
}

Credits

Based on the unofficial API documentation courtesy of Rots/n26-api

Releases

No releases published

Packages

No packages published

Languages