GitHub Issues v0.4.20 GitHub.Issues View Source

Fetches a list of issues from a GitHub project.

Link to this section Summary

Link to this section Functions

Link to this function fetch(user, project, url_template \\ "https://api.github.com/repos/{user}/{project}/issues") View Source
fetch(GitHub.Issues.CLI.user(), GitHub.Issues.CLI.project(), String.t()) ::
  {:ok, [issue()]} | {:error, String.t()}

Fetches issues from a GitHub project of a given user.

Returns a tuple of either {:ok, [issue]} or {:error, text}.

Parameters

  • user - GitHub user
  • project - GitHub project
  • url_template - URL template

Examples

alias GitHub.Issues
Issues.fetch("laravel", "elixir")