PHP Does Not Suck offers two public API endpoints for your quoting convenience. All quotes return a JSON object with the following fields:

  • id: Each quote has a unique ID number.
  • body: The quote text.
  • author: The author, obviously.
  • author_link: The URL to the most frequently-upated social media profile for the author I could find at the time the quote was added to the site.
  • source: The URL to the context the quote was pulled from.

Specific quotes are available at /api/{id}, and random quotes are available at /api/random.