Github: Can I see the number of downloads for a repo? -


in github, there way can see number of downloads repo?

update august 2014

github proposes number of clones repo in traffic graph:
see "clone graphs"

http://i.stack.imgur.com/uycez.png


update october 2013

as mentioned below andyberry88, , detailed last july, github proposes releases (see its api), has download_count field.

michele milidoni, in his (upvoted) answer, use field in his python script.
(very small extract)

c.setopt(c.url, 'https://api.github.com/repos/' + full_name + '/releases') p in myobj:     if "assets" in p:         asset in p['assets']:             print (asset['name'] + ": " + str(asset['download_count']) +                    " downloads") 

original answer (december 2010)

i not sure can see information (if recorded @ all), because don't see in github repository api:

$ curl http://github.com/api/v2/yaml/repos/show/schacon/grit --- repository:   :name: grit   :owner: schacon   :source: mojombo/grit # original repo @ top of pyramid   :parent: defunkt/grit # repo's direct parent   :description: grit ruby library extracting information   git repository in object oriented manner - fork tries   intergrate pure-ruby functionality possible   :forks: 4   :watchers: 67   :private: false   :url: http://github.com/schacon/grit   :fork: true   :homepage: http://grit.rubyforge.org/   :has_wiki: true   :has_issues: false   :has_downloads: true 

you can see if has downloads or not.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -