ghc_authenticate_gql | R Documentation |
Helper function to authenticate the GitHub account for running GraphQL (gql) queries. 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. Note that the validity of the authentication token will only be tested once a query (ghc_run_gql) is run.
ghc_authenticate_gql(token)
token |
authentication token for github API (https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) |
GraphqlClient object with authentication headers
Other GitHub query functions:
ghc_run_gql()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.