GitHub GraphQL who am i



examples/github-graphql/login.gql
query {
  viewer {
    login
  }
}


python examples/github-graphql/run_query_requests.py examples/github-graphql/login.gql out.json


examples/github-graphql/login.json
{
    "viewer": {
        "login": "szabgab"
    }
}