This is a simple Rest API which can be used to fetch a quote with id or a list of quote. we can also do CRUD operation on the Quote. Also this app uses Beautiful Soup to scrap data from a Quote website & save the data to the DataBase by using provided commands.
After running local django server, headover to this url
🌐 http://127.0.0.1:8000/api/quotes
Here are the end-points to send request
GET /quote/<pk> - Get the quote based on the primary key
GET /quotes - List all the quotes
POST /quotes - Create a Quote
DELETE /quote/<pk> - Delete a Quote
PATCH /quote/<pk> - Partial Update a Quote
PUT /quote/<pk> - Update a Quote
https://www.goodreads.com/quotes & save to DataBase
Commands to Scrape data frompython manage.py category qantity
For Example if you want to extract 50 quotes related to life
python manage.py life 50