ghc_run_gql | R Documentation |
Run a GraphQL query against the github graphql node. Stops if errors are encountered during query execution. This function is exported for users who want to run custom GraphQL queries against the GitHub server but does not need to be called directly for standard use of the ghctools package.
ghc_run_gql( query, query_name = "query", gql_client = ghc_authenticate_gql(token), token = NULL )
query |
GraphQL query |
gql_client |
a GraphQL client object - will be generated based on the token by default |
token |
authentication token (only needed if |
returns the $data of the query
Other GitHub query functions:
ghc_authenticate_gql()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.