Get repository languages


#1

I’ve been trying the GitHub GraphQL API, which is great. However, I’m trying to get the languages used by each repository for an organization and I’m having trouble getting the organization (could only do it via search) and getting the languages from the Repository type (which appears not to be possible).

Here’s the query I’m running:

query {  
  search(first: 1, query: "Subvisual", type: USER) {
    edges {
      node {
        ... on Organization {
          repositories(first: 10) {
            edges {
              node {
                name
              }
            }
          }
        }
      }
    }
  }
}

#2

Moved the discussion to Add your schema requests


#3