Skip to content

vharatian/GithubAPIWorkshop

Repository files navigation

CS 456 GitHub API Workshop

This is a workshop for students to learn how to use GitHub API and more specific learn the following concepts.

  1. HTTP API -> Searching repositories
  2. Pagination Logic -> Fetching more repositories
  3. Repositories Details -> Fetching language specific information
  4. GraphQL -> Searching repositories and fetch details at once
  5. GitHUb API Wrappers -> Searching repositories using PyGithub
  6. Parsing Commits -> Merging authors using local and remote information

Setting up

Clone the repository.

    git clone https://github.com/vharatian/GithubAPIWorkshop.git
    cd GithubAPIWorkshop

Creating Virtual Environment and Install Requirements

    python -m venv venv
    source venv/bin/activate
    pip install -r requirements.txt

Configuration (Required by task 4 and 6)

Copy the config-template.py file to the config.py file.

    cp config-template.py config.py

Obtain a valid github token and place it into the config.py file. Look at the GitHub Documentation for more information.

Evaluation Repository (Required by task 6)

To complete the GithubLogin task you need to clone the VueJS core repository into the repositories folder.

    mkdir repositories
    git clone https://github.com/vuejs/core.git repositories/core

Results

The results of each task should be placed as a JSON file in a folder named results in the directory you have launched the execution.

About

Workshop for computer scinece students to learn the basics of github API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors