fromgitscrpyimportgetgit# Imports the packagea=getgit.gitinit("fredysomy")
# Initialize# User repository functionsa.getrepo(n)
# return the first n repos in the users repository list.a.getrepo(2)
# [{'name': 'MarkdownIt', 'description': 'Efficient Code Editor to live render Markdown and save as Markdown,Html and Pdf +β‘ Instant Hosting in The Web.β‘', 'url': 'https://github.com/fredysomy/MarkdownIt', 'stars': '13'}, {'name': 'fredysomy', 'url': 'https://github.com/fredysomy/fredysomy', 'stars': '4'}]a.getrepo(1)
# {'name': 'MarkdownIt', 'description': 'Efficient Code Editor to live render Markdown and save as Markdown,Html and Pdf +β‘ Instant Hosting in The Web.β‘', 'url': 'https://github.com/fredysomy/MarkdownIt', 'stars': '13'}# User details functionsa.getuser("star")
# Retrun no of stars user have # 172a.getuser("name")
# Returns the name of the User# Fredy Somya.getuser("u_name")
# Returns the Username of the User# fredysomya.getuser("follower")
# Returns no of followers the User# 25a.getuser("following")
# Returns the no of following the User# 60a.getuser("img")
# Returns the link to the User avatar# https://hfsjdhfjshd.com
About
A simple π python package to scrape Github user repositories and some user details.