GitOps.GitHub (Git Ops v2.8.0)

View Source

GitHub API integration for looking up user information.

Summary

Functions

Batch find GitHub users by their email addresses. Returns a map of %{email => {:ok, user_info} | {:error, reason}}

Find a GitHub user by their email address. Returns {:ok, user} if found, where user contains :username, :id, and :url. Returns {:error, reason} if not found or if there's an error.

Functions

batch_find_users_by_emails(emails)

Batch find GitHub users by their email addresses. Returns a map of %{email => {:ok, user_info} | {:error, reason}}

fetch_user_from_api(email)

Find a GitHub user by their email address. Returns {:ok, user} if found, where user contains :username, :id, and :url. Returns {:error, reason} if not found or if there's an error.