why github api return null for language field for repositories -


below example returns null in language field, not sure why returns null?

https://api.github.com/repos/wycats/merb-more 

afaict language field signifies most-used programming language in repo. if no languages detected null.

you can check list of languages with

https://api.github.com/repos/:owner/:repo/languages 

if it's empty, you'll see null in general repo info. if it's got entries, should see most-used 1 instead - example try these urls:

https://api.github.com/repos/testoob/testoob/languages https://api.github.com/repos/testoob/testoob 

Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -