github v0.6.0 Github.Orgs View Source

Link to this section Summary

Link to this section Functions

Link to this function find!(github_client, name) View Source

User organization

Example

iex> client = %Github.Client{access_token: "access_token"}

iex> client |> Github.Orgs.find!("WorkflowCI")
%Github.Client.Response{
  body: [%{"name" => "WorkflowCI", ...}],
  status: 200,
  ...
}
Link to this function user_list!(github_client, options \\ []) View Source

User organizations

Example

iex> client = %Github.Client{access_token: "access_token"}

iex> client |> Github.Orgs.user_list!(page: 1, per_page: 30)
%Github.Client.Response{
  body: [%{"name" => "WorkflowCI", ...}],
  status: 200,
  ...
}