(repo)
| 55 | return "This week" |
| 56 | |
| 57 | def getRepoInfo(repo): |
| 58 | response = {'stars':'','lastUpdate':'','issues':'', 'name':'','description':'', 'image':''} |
| 59 | info = json.loads(curl('https://api.github.com/repos/'+repo)) |
| 60 | response['stars'] = str(info['stargazers_count']) |
| 61 | response['lastUpdate'] = getAgoString(info['updated_at']) |
| 62 | response['issues'] = str(info['open_issues']) |
| 63 | response['name'] = info['name'] |
| 64 | response['description'] = info['description'] |
| 65 | response['image'] = getImage(repo) |
| 66 | return response |
| 67 | |
| 68 | count = 0; |
| 69 | print(sys.argv[1]) |
no test coverage detected