Giter Club home page Giter Club logo

githubapiworkshop's Introduction

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.

githubapiworkshop's People

Contributors

vharatian avatar batuh2o avatar

Stargazers

Selin Bahar Gündoğar avatar  avatar Ege Çenberci avatar  avatar Hasan Yarkın Kurt avatar  avatar Solomon avatar Semih Kaan Cakir avatar Emre Uğur avatar  avatar  avatar Borga Haktan Bilen  avatar Berat Biçer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.