Skip to content

melanieshi0120/Intro_GitHub_API_Data_Extraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction of Data Extraction with GitHub API

images/github.png

What is an API?

API is the acronym for Application Programming Interface, which is a software intermediary that allows two applications to talk to each other. The GitHub API is provided by GitHub for developers who want to develop applications targeting GitHub.

Get your token

If you want to extract more data without limitation, you need to create a token from GitHub. Proceed as follows:

Step 1: Login GitHub with your user name and password

images/0homepage.png

Step 2: Click your icon on the right top and click “settings”

images/1click_settings.png

Step 3: Scroll down and click “Developer settings”

images/3Generate_new_token.png

Step 4: Click “personal access token” on a new page then click “Generate New Token”

images/4then_it_requires_your_passward.png

  • Step 5: It will require your GitHub password images/5Personal_access_tokens.png

Step 6: After you enter your password you can see a new page, and on the top, you can see “Note”. Here you can name your token and select the appropriate scopes.

images/6Note_to_name_your_token.png

Step 7: Scroll down to the bottom and click “Generate Token”, then you can get you token on a new page.

images/7scroll_down_to_the_bottom_generatetoken.png

Code in Python

You can click the Jupter Notebook -GitHub_Api_Project.ipynb above in this repo.

About

Preset the process of data extraction using GitHub API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published