I know I'm taking the long way round by doing things this way, but it's all for a good cause: learning.
The GitHub API does offer searching by language and the GET on /repos does offer the primary language at the top level without drilling down into /languages but where's the education fun in not doing it yourself? :)