# shell
$ curl https://api.johnmulapi.givensuman.com
// javascript
fetch('https://api.johnmulapi.givensuman.com')
.then(res => res.json())
.then(data => console.log(data);
# python
import requests
quote = (requests
.get('https://api.johnmulapi.givensuman.com')
.json())
print(quote)
👇
{
"data": "I don't look older, I just look worse.",
"status": 200,
"message": null
}
name | type | default | description |
---|---|---|---|
quantity | number | 1 | Number of quotes to return |
minLength | number | undefined | Minimum length of the quotes to return |
maxLength | number | undefined | Maximum length of the quotes to return |
unique | boolean | false | Whether the returned quotes (if multiple) must be unique |
# example usage
curl 'https://api.johnmulapi.givensuman.com/?quantity=5&unique=true&maxLength=75'
Please do. Let me know how it goes.