Skip to content

Animesh-Ghosh/GitHub-API-Wrapper

Repository files navigation

Installation

  1. Clone the repository:
git clone https://github.com/Animesh-Ghosh/TripMoksha-Task.git
  1. Create virtual environment:
python3 -m venv venv
  1. Activate virtual environment:

    Linux

    source venv/bin/activate

    Windows

    .\venv\Scripts\activate
  2. Install dependencies:

pip install -r requirements.txt
  1. Add GitHub OAUTH TOKEN:
  • Create a personal access token from here.
  • Add the token in a .env file as OAUTH_TOKEN='{YOUR_OAUTH_TOKEN}'.

Run

  1. Run the development server:
flask run
  1. Either go to site being served by Flask server or use cURL or some other API client.

Releases

No releases published

Packages

No packages published