0

GitHub - JaganGanesh/wednesday-quotes: A simple API to retrieve some quotes from...

 11 months ago
source link: https://github.com/JaganGanesh/wednesday-quotes
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

wednesday-quotes_header.png

Wednesday Quotes API

A simple API to retrieve some quotes from Wednesday!

🌐 Website: https://jaganganesh.tumblr.com

Wednesday quotes API

API

GET /v1/quotes

Get a random quote in this format:

https://localhost:3001/v1/quotes

[
	{
		"quote": "Nevermore is like no other boarding school. It's a magical place",
		"author": "Gomez Addams"
	}
]

GET /v1/quotes/{number}

Returns an array with {number} quotes e.g. GET /v1/quotes/5.

https://localhost:3001/v1/quotes/5

[
	{
		"quote": "I'm not sure whose twisted idea it was to put hundreds of adolescents in underfunded schools run by people whose dreams were crushed years ago, but I admire the sadism",
		"author": "Wednesday Addams"
	},
	{
		"quote": "Pugsley, emotion equals weakness",
		"author": "Wednesday Addams"
	},
	{
		"quote": "Wednesday, what are you gonna go?",
		"author": "Pugsley Pubert Addams"
	},
	{
		"quote": "Nevermore is like no other boarding school. It's a magical place",
		"author": "Gomez Addams"
	},
	{
		"quote": "Wednesday always looks half dead.",
		"author": "Gomez Addams"
	},
]

Contributing

If you want to add some quotes, add them in the quotes.js file and do a pull request!

Credits

Inspired by Ron Swanson Quotes.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK