Description Usage Arguments Details Value
If create.github.context is called without some of client_id, client_secret or access_token, then some API calls will be unavailable, and more severe rate limiting will be in effect. Refer to http://developer.github.com for more details.
1 2 3 |
api_url |
the base URL |
client_id |
the github client ID |
client_secret |
the github client secret |
access_token |
the github access token |
personal_token |
the personal access token given by github via the /authorizations api |
max_etags |
the maximum number of entries to cache in the context |
verbose |
if TRUE, passes verbose() to httr configuration |
If the environment variable GITHUB_PAT is set, then rgithub will attempt to authenticate using the value of that variable as a personal authentication token.
create.github.context stores the context last created in an environment. If any of the github API functions are called without a context, this context is used instead. (if no context has been created, an unauthenticated context will be created)
a github context object that is used in every github API call issued by this library.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.