nchah / github-traffic-stats

Get statistics on web traffic to your GitHub repositories.
https://pypi.org/project/github-traffic-stats/
121 stars 31 forks source link

enhancement: also track clones and referrers #3

Closed thirschbuechler closed 7 years ago

thirschbuechler commented 7 years ago

It would be awesome if clones and referrers would be tracked as well, as specified in the official api.

I've tried copy-pasting the traffic-sections and modifying them to also track clones, but my understanding of json and the involved datastructures in the py-script seem to be too limited.

nchah commented 7 years ago

Thanks for the suggestion. I'll look into this as well when I have time.

nchah commented 7 years ago

Had some time to add this functionality. The script now gets 'clones' and 'referrer' stats, and can also store them as CSV. :)

thirschbuechler commented 7 years ago

Awesome, thanks dude!

On Sun, Jul 30, 2017 at 5:37 PM, Niel Chah notifications@github.com wrote:

Had some time to add this functionality. The script now gets 'clones' and 'referrer' stats, and can also store them as CSV. :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nchah/github-traffic-stats/issues/3#issuecomment-318909723, or mute the thread https://github.com/notifications/unsubscribe-auth/AH_SpBT0WPL9i96DLfOHvSyx8WnrTvriks5sTKMkgaJpZM4MLZ_0 .