UNPKG

hubspy

Version:

A package to extract github metadata and total contributions for a github user.

52 lines (51 loc) 1.2 kB
export interface YearContribution { year: number; contributions: number; } export interface UserMetaData { login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; user_view_type: string; site_admin: boolean; name: string | null; company: string | null; blog: string; location: string | null; email: string | null; hireable: boolean | null; bio: string | null; twitter_username: string | null; public_repos: number; public_gists: number; followers: number; following: number; created_at: string; updated_at: string; } export interface RepositoryData { name: string; description: string; starred: number; top_language: string; last_updated_at: number; link_href: string; } export interface TopLanguageList { language: string; percentage: string; }