Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/animesh-ghosh/github-api-wrapper
A small attempt to write a wrapper API for GitHub's API.
https://github.com/animesh-ghosh/github-api-wrapper
concurrent-futures flask flask-restful github-api github-api-v3
Last synced: 3 months ago
JSON representation
A small attempt to write a wrapper API for GitHub's API.
- Host: GitHub
- URL: https://github.com/animesh-ghosh/github-api-wrapper
- Owner: Animesh-Ghosh
- License: agpl-3.0
- Created: 2019-11-24T14:59:35.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-21T05:48:31.000Z (8 months ago)
- Last Synced: 2024-05-21T06:52:18.194Z (8 months ago)
- Topics: concurrent-futures, flask, flask-restful, github-api, github-api-v3
- Language: Python
- Homepage:
- Size: 62.5 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## Installation
1. Clone the repository:
```bash
git clone https://github.com/Animesh-Ghosh/TripMoksha-Task.git
```2. Create virtual environment:
```bash
python3 -m venv venv
```3. Activate virtual environment:
**Linux**
```bash
source venv/bin/activate
```
**Windows**
```pwsh
.\venv\Scripts\activate
```4. Install dependencies:
```bash
pip install -r requirements.txt
```5. Add GitHub OAUTH TOKEN:
* Create a personal access token from [here](https://github.com/settings/tokens).
* Add the token in a `.env` file as `OAUTH_TOKEN='{YOUR_OAUTH_TOKEN}'`.## Run
1. Run the development server:
```bash
flask run
```2. Either go to [site](127.0.0.1:5000) being served by Flask server or use cURL or some other API client.