A simple interface for the GitHub GraphQL API v4.
See more about the GraphQL API here: https://docs.github.com/graphql
gh_gql(query, ...)
query |
The GraphQL query, as a string. |
... |
Name-value pairs giving API parameters. Will be matched into
|
Note: pagination and the .limit
argument does not work currently,
as pagination in the GraphQL API is different from the v3 API.
If you need pagination with GraphQL, you'll need to do that manually.
gh()
for the GitHub v3 API.
gh_gql("query { viewer { login }}")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.