ma2gedev / qiita_ex

Qiita API v2 Interface for Elixir

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Qiita API v2 Interface for Elixir

License:MIT License


Languages

Language:Elixir 100.0%