Introduction
Hi Every body I just created a quote API With CRUD operations and I Want To share it with you if You Want to Use It To Learn Asynchronous Programming or any things I Already Live And You Can Access it from Here : QuoteApi
Features
- Authentication System (unique Username And Email)
- Add and Delete Quote
- Authorization ( You Can't Delete Others Quotes)
- End Point Support
- Created Using Python and flask and MySQL as the Database
- Use Environment Variables ### Project Repo :
Use The API
- Access All Quotes
https://quoteapibydaddasoft.herokuapp.com/api/quotes
Returned Data Structure :
"author": "",
"body": "",
"category": "",
"createdAt": "",
"id": "",
"updatedAt": ""
- Pagination ( with some Helpful information )
https://quoteapibydaddasoft.herokuapp.com/api/quotes?page=1
{
"data": [
{
"author": "",
"body": "",
"category": "",
"createdAt": "",
"id": "",
"updatedAt": ""
}],
"pagination": {
"currentPage": 1,
"nextpage": 2,
"pages": 8,
"prevPage": null
}
}
- Get a Random Quotes
https://quoteapibydaddasoft.herokuapp.com/api/quotes/random
{
"author": "",
"body": "",
"category": "",
"createdAt": "",
"id": "",
"updatedAt": ""
}
Top comments (0)