# GithubTrendEx

Get trend repositories from Github.

## Installation

If [available in Hex](, the package can be installed as:

  1. Add current_streak_ex to your list of dependencies in `mix.exs`:

        def deps do
          [{:github_trend_ex, "~> 0.2.1"}]

# How to use

iex> GithubTrendEx.trend |> GithubTrendEx.list
[%GithubTrendEx.Repo{contributors: ["dularion", "JanneNiemela",
   "LorenzoGarbanzo", "jsniemela", "DanielNowak1986"],
  description: "It's like Netflix, but self-hosted!",
  forks: 233, language: "JavaScript", name: "dularion/streama", stars: 3911,
  url: ""},
 %GithubTrendEx.Repo{contributors: ["ryanmcdermott", "vsemozhetbyt", "acparas",
   "HemantPawar", "kurtommy"],
  description: "🛁 Clean Code concepts adapted for JavaScript", forks: 566,
  language: "JavaScript", name: "ryanmcdermott/clean-code-javascript",
  stars: 7696, url: ""},
 %GithubTrendEx.Repo{contributors: ["rgmorris", "Eli-Zaretskii", "monnier",
   "lektu", "eggert"], description: "Rust ❤️ Emacs", forks: 38,
  language: "Emacs Lisp", name: "Wilfred/remacs", stars: 546,
  url: ""},

iex> GithubTrendEx.trend("elixir", "weekly") |> GithubTrendEx.list
[%GithubTrendEx.Repo{contributors: ["josevalim", "lexmag", "ericmj", "alco",
  description: "Elixir is a dynamic, functional language designed for building scalable and maintainable applications",
  forks: 1236, language: "Elixir", name: "elixir-lang/elixir", stars: 9043,
  url: ""},
 %GithubTrendEx.Repo{contributors: ["securingsincity", "slashdotdash"],
  description: "Feature toggle library for elixir", forks: 1,
  language: "Elixir", name: "securingsincity/molasses", stars: 32,
  url: ""},
 %GithubTrendEx.Repo{contributors: ["chrismccord", "josevalim", "scrogson",
   "gjaldon", "darkofabijan"], description: "Productive. Reliable. Fast.",
  forks: 968, language: "Elixir", name: "phoenixframework/phoenix", stars: 8486,
  url: ""},
 %GithubTrendEx.Repo{contributors: ["josevalim", "ericmj", "michalmuskala",
   "laurocaetano", "whatyouhide"],
  description: "A database wrapper and language integrated query for Elixir",
  forks: 555, language: "Elixir", name: "elixir-ecto/ecto", stars: 2375,
  url: ""},

# License