Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 2

List languages for org repos

Is it possible to get a list of languages across an orgs repos?  So far can only see the primary language returned for each repo and /:repo/languages, which returns all languages for a repo.

1 Reply
Community Manager
Message 2 of 2

Re: List languages for org repos

Hi @rossjha,

 

Thanks for being here! I think the best way to do that would be to use the API:

http://developer.github.com/v3/

 

You could use the API to fetch a list of repositories in the organization:

https://developer.github.com/v3/repos/#list-organization-repositories

 

And then you could fetch the list of languages for each repository:

https://developer.github.com/v3/repos/#list-languages

 

Hope this helps.

Thanks for being here, sharing, and keeping our community awesome!
Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!