GitHub App icon

GitHub App

Consume GitHub API using GitHub App authentication

Repository → List Referrers

AI-generated

Overview

This node operation lists the top 10 referrer domains for a specified GitHub repository over the last 14 days. It is useful for repository owners or maintainers who want to analyze traffic sources to their repository, helping them understand where visitors are coming from. For example, a user can input the repository owner and repository name to retrieve the most popular external websites that have referred traffic to their GitHub repository.

Use Case Examples

  1. A developer wants to see which websites are driving traffic to their open-source project repository to tailor their outreach efforts.
  2. A project maintainer wants to analyze referral traffic to understand the impact of a recent blog post linking to their repository.

Properties

Name Meaning
Repository Owner The owner of the GitHub repository. This can be selected from a list, provided as a URL, or entered by name. It identifies the user or organization that owns the repository.
Repository Name The name of the GitHub repository. This can be selected from a list, provided as a URL, or entered by name. It identifies the specific repository under the owner.

Output

JSON

  • referrer - The domain name of the referrer site.
  • count - The number of referrals from the referrer domain.

Dependencies

  • Requires GitHub API access authenticated via a GitHub App API key credential.

Troubleshooting

  • Ensure the repository owner and repository name are correctly specified and accessible with the provided credentials.
  • If the API returns a 404 error, verify that the repository exists and the GitHub App has the necessary permissions to access repository traffic data.
  • Check that the GitHub App authentication token is valid and has not expired.

Links

Discussion