Skip to content
JSON file with more than 5000+ famous quotes.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitattributes
.gitignore
README.md
quotes.json

README.md

#Database Quotes JSON ##JSON file with more than 5000+ famous quotes.

###Some example on how to work on this JSON quotes file

//return array of all quotes with 12 words max
var filePath = "quotes.js";
$.getJSON(filePath).done(function (data) {
	return data.filter(function (o) {
		return o.quoteText.split(" ").length <= 12;
	});
});

//return array of all quotes of Buddha
var filePath = "quotes.js";
	$.getJSON(filePath).done(function (data) {
		return data.filter(function (o) {
			return o.quoteAuthor === "Buddha";
		});
	});
}
You can’t perform that action at this time.