ghql - general purpose GraphQL client

GraphQL -

ghql uses the rOpenSci’s package graphql, GraphQL query parser.

Examples of GraphQL APIs:

Github Authentication

See for getting an OAuth token.

Store the token in a env var called GITHUB_GRAPHQL_TOKEN before trying this pkg.


Development version


initialize client

load schema

Since not every GraphQL server has a schema at the base URL, have to manually load the schema in this case

run a local GraphQL server


  • Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.