Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 321 Bytes

github_api.livemd

File metadata and controls

25 lines (20 loc) · 321 Bytes

Github API

Mix.install([
  {:poison, "~> 4.0"},
  {:httpoison, "~> 1.8"},
  {:tentacat, "~> 2.0"}
])

Section

client = Tentacat.Client.new()
{200, data, _response} =
  client
  |> Tentacat.Search.repositories(%{q: "code language:elixir"})
Enum.count(data)