Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iambijoykar/rest-quotes-api

This is random quotes generates REST API written in Flask - Python
https://github.com/iambijoykar/rest-quotes-api

api-rest flask flask-api flask-restful python3

Last synced: 11 days ago
JSON representation

This is random quotes generates REST API written in Flask - Python

Awesome Lists containing this project

README

        

# [rest-quotes-api](https://rest-quotes-api.onrender.com/api)

## 📄 Documentation
***This REST api has 3 end points :***

'/api/quotes/random' **response with JSON of a random quote like below 👇**
```
{
"quoteAuthor": "Johann Wolfgang von Goethe",
"quoteText": "Great talent finds happiness in execution."
}
```
**'/api/quotes' response with JSON of 300+ quotes like below 👇**
```
{

"quotes": [

{
"quoteAuthor": "Thomas Edison",
"quoteText": "Genius is one percent inspiration and ninety-nine percent perspiration."
},

{
"quoteAuthor": "Yogi Berra",
"quoteText": "You can observe a lot just by watching."
},

{
"quoteAuthor": "Abraham Lincoln",
"quoteText": "A house divided against itself cannot stand."
},

{
"quoteAuthor": "Johann Wolfgang von Goethe",
"quoteText": "Difficulties increase the nearer we get to the goal."
},
....]
}
```

'/api' **leads to a web page having information about this REST api**