Service: Analyze Github User #550
leeduckgo
started this conversation in
Documentation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
ENDPOINT:
/analyze_userEndpoint DocumentationOverview
This endpoint analyzes a GitHub user's profile and returns detailed information about their activity, repositories, and social presence.
Request
/analyze_user?username={github_username}username: GitHub username to analyzeAuthentication
GITHUB_TOKENResponse
Success Response (200 OK)
{ "analysis": { "followersBiggerThanOne": boolean, "hasGithubPages": boolean, "sourcePublicRepos": boolean, "hasSocialAccounts": boolean, "hasPublicEmail": boolean, "lastCommitInLastMonth": boolean }, "raw_data": { "username": string, "name": string, "bio": string, "publicRepos": number, "followers": number, "following": number, "createdAt": string, "socialAccounts": Array, "userEmail": string, "lastCommitTime": string | null, "topLanguages": string[], "topTenRepos": [ { "name": string, "stars": number, "about": string, "topics": string[], "contributorsCount": number } ] } }Error Responses
400 Bad Request
{ "error": "Username parameter is required" }500 Internal Server Error
{ "error": "GitHub API key not found" }{ "error": "Failed to analyze user" }API Calls Made
/users/{username})/users/{username}/social_accounts)/users/{username}/events)/search/repositories)Rate Limiting
Analysis Criteria
followersBiggerThanOne: User has at least 1 followerhasGithubPages: (TODO: Implementation pending)sourcePublicRepos: User has at least 3 source (non-fork) repositorieshasSocialAccounts: User has linked social accountshasPublicEmail: User has a public email addresslastCommitInLastMonth: User has made a commit within the last 30 daysAll reactions