kossiitkgp / kwoc-2018

Web app for Kharagpur Winter of Code, 2018
https://kwoc.kossiitkgp.org
MIT License
0 stars 0 forks source link

Add function to get attributes of user for #5 #22

Closed themousepotato closed 5 years ago

themousepotato commented 5 years ago

Replace function get_commits(username, repo_name) which returns int(commits) with get_attributes(username, repo_name) which returns

dict({'commits' : int(commits),
      'additions' : int(additions),
      'deletions' : int(deletions),
      'prs_open' : int(prs_open),
      'prs_closed' : int(prs_closed),
      'prs_merged' : int(prs_merged)})
thealphadollar commented 5 years ago

LGTM; I would merge and see what else is needed to worked upon.