Skip to content

SwiftLoad - Backend Flask API to upload the required video on You-Tube form user inputs

Notifications You must be signed in to change notification settings

asutoshranjan/E-Learning-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Swift Load API

This is the backend python flask app for Swift Load. It provides REST APIs to our frontend application and performs the POST and GET requests. It receives data from the user to upload the required video\videos using all the various details the user provides with like Video Title, Description, Category, Keywords, ThumbnaiFile, PrivacyStatus (uses Youtube Data V3 API to upload the video). It uploads the videos to a specified Youtube channel you authenticate with while logging in.

Getting Started

Clone this repo at your desired location.

  • create a python virtualenv in the same directory
  • now activate the virtualenv and add these packages
pip install --upgrade google-api-python-client
pip install --upgrade google-auth-oauthlib google-auth-httplib2
pip install flask
pip install flask-cors
  • add the client_secrets.json file in the same directory and then install
pip install oauth2client
  • to run the script
python api.py

The flask application is now hosted on your localhost

Congratulations!

Releases

No releases published

Packages

No packages published

Languages