Features
Usage
To-dos
Contributing
License
- Get random quote along with author
- Get quote by Id
- Update new quote
result :
Status: 200
{
"developer": "TheBotbox",
"developer_profile": "http://thebotbox.online/",
"base_url": "thebotbox.pythonanywhere.com",
"project_name": "QuoteBuddy",
"project_url": "https://github.com/TheBotBox/QuoteBuddy"
}
result:
Status: 200
{
"quote": "Stand amongst the ashes of a trillion dead souls, and ask the ghosts if honor matters.
The silence is your answer.",
"author": "Javik (Mass Effect 3)",
"quote_id": 1
}
result:
Status: 200
{
"quote": "Everyone admires Robert Frost but not everyone takes the road less traveled",
"author": "anonymous",
"quote_id": 3
}
Error when Id is not found in database:
Status: 404
{
"error": "Quote not found"
}
{
"quote": "If you want to go quickly, go alone. If you want to go far, go together",
"author": "African Proverb"
}
result:
{
"message": "Quote updated successfully",
"quote_id": 4
}
- Get all quotes
As I have made the create-quote
api public, kindly do not post gibbrish quotes just for fun. You are allowed to post as many quotes you want but please don't post gibberish. Thanks 😀
Copyright (c) 2020 TheBotBox
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without
limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to
whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions
of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE,ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.