Skip to content

api to scrap and store images from Wikipedia with flask google firebase and GCP

Notifications You must be signed in to change notification settings

lucas-naman/flask-scraping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST API With Flask & Google Firebase & Google App Engine

API to scrap and store images from Wikipedia

Quick Start Using Venv

# Create a Google Cloud Project
https://cloud.google.com/appengine/docs/standard/python3/building-app/creating-gcp-project

# Connect SDK To Google to access DataBase
$ gcloud auth application-default login

# Create an isolated Python environment in a directory external to your project and activate it:
$ python3 -m venv env
$ source env/bin/activate

# Install dependencies
$ pip install  -r requirements.txt

# Run Server (http://localhost:8080)
python main.py

Deploy On Google App Engine

# Create a Google Cloud Project
https://cloud.google.com/appengine/docs/standard/python3/building-app/creating-gcp-project

# Connect SDK To Google 
$ gcloud auth application-default login

# Deploy App
$ gcloud app deploy

# Go To Url
$ gcloud app browse

Endpoints

  • GET /scrap/
  • GET /geturls/

About

api to scrap and store images from Wikipedia with flask google firebase and GCP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages