从Github API查找用户的总贡献 [英] Finding total contributions of a user from Github API

查看:291
本文介绍了从Github API查找用户的总贡献的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



.pngalt =在 github-api 这里我们可以直接获取这些信息吗?

可能不是你要找的解决方案,但是这里生成的数组包含所有你需要的信息:

  curl https:/ /github.com/users/ankit8898/contributions_calendar_data 

我确定您正在寻找解决方案这比这更优雅。



更新看起来这不是获取贡献者数据的最新方式。请在StackOverflow的其他地方查看正确答案。


I am trying to extract the below info for any user from github.

Is there a way/api exposed in github-api where we can get this information directly ?

解决方案

This is probably not the solution you're looking for but the array generated here has all the information you need:

curl https://github.com/users/ankit8898/contributions_calendar_data

I'm sure you're looking for a solution which is elegant than this.

UPDATE Looks like this isn't the latest way to get the contributors data. Please look elsewhere on StackOverflow for the right answer.

这篇关于从Github API查找用户的总贡献的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆