Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

ghclass (version 0.1.0)

github_get_token: Get github token

Description

`github_get_token`` obtains the user's github authentication token.

Usage

github_get_token()

Arguments

Details

This function looks for the token in the following places (in order):

  • Value of GITHUB_PAT environmental variable.

  • Value of GITHUB_TOKEN environmental variable.

  • Contents of ~/.github/token file.

Examples

Run this code
# NOT RUN {
github_get_token()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab