Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Latest commit

 

History

History
42 lines (29 loc) · 721 Bytes

README.md

File metadata and controls

42 lines (29 loc) · 721 Bytes

QiitaEx - Qiita API v2 Interface for Elixir

⚠️ This library is no longer maintained ⚠️

Installation

Add :qiita_ex library to your project's dependencies in mix.exs and also add in application function:

def application do
  [applications: [:logger, :qiita_ex]]
end

defp deps do
  [
    {:qiita_ex, "~> 0.0.1"}
  ]
end

And fetch:

$ mix deps.get

Usage

Go to https://qiita.com/settings/tokens/new and get your token.

iex -S mix
iex> response = QiitaEx.API.Users.get_user("<YOUR_ACCESS_TOKEN>", "ma2ge")
iex> response.status_code
iex> response.headers
iex> response.body

License

Copyright © 2014 Takayuki Matsubara, released under the MIT license.