Drejc
Drejc

Reputation: 14286

BitBucket get list of all contributors

Is there a way using the BitBucket API to get a list of all commiters/contributors to a repository?

I know I can user git-shortlog for this purpose but would rather make an API call if possible.

Upvotes: 4

Views: 6579

Answers (1)

Erik van Zijst
Erik van Zijst

Reputation: 2331

No, we do not currently have that kind of data indexed, or available through the API.


If you want a fairly slow way, just clone the repo and compile it locally with something like:
$ git log --format="%ae" | sort | uniq -c

Then you can parse through the commits one-by-one for contributors

Upvotes: 1

Related Questions