Ron Swanson Quotes

App · 2 actions

Get random quotes from Ron Swanson of Parks and Recreation, or find the ones that mention a word, from the open-source Ron Swanson Quotes API. Good for a daily quote in a team channel. No account or API key required.

Get random quotes

Get one or more random quotes from Ron Swanson of Parks and Recreation, all different, such as 'Never half-ass two things. Whole-ass one thing.' Good for a daily quote in a team channel. No API key required.

Inputs

Number of quotescountnumber
How many different quotes to get, 1 to 100. Defaults to 1.From 1 to 100. Default: 1.

Outputs

countnumber
How many quotes came back. Usually the number asked for; fewer only when more were asked for than the API holds.
quotetext
The first quote picked, for the usual case of wanting just one.
quoteslist
Every quote picked, all different, in random order.
Example output
{
  "count": 2,
  "quote": "Never half-ass two things. Whole-ass one thing.",
  "quotes": [
    "Never half-ass two things. Whole-ass one thing.",
    "Honor: if you need it defined, you don't have it."
  ]
}

Search quotes

Find every Ron Swanson quote that contains a word or phrase, ignoring case, such as 'bacon' or 'government'. Nothing matching comes back with 'found' set to false rather than failing the step. No API key required.

Inputs

Search fortermtextRequired
The word or phrase the quote must contain. Case does not matter, and it is matched exactly as typed.

Outputs

countnumber
How many quotes contain the text.
first_quotetext
The first matching quote, or empty when none matched.
foundtrue/false
True when at least one quote contains the text.
quoteslist
Every quote that contains the text, ignoring case.
termtext
The text that was searched for, tidied up.
Example output
{
  "count": 1,
  "first_quote": "Just give me all the bacon and eggs you have. Wait...wait. I worry what you just heard was: Give me a lot of bacon and eggs. What I said was: Give me all the bacon and eggs you have. Do you understand?",
  "found": true,
  "quotes": [
    "Just give me all the bacon and eggs you have. Wait...wait. I worry what you just heard was: Give me a lot of bacon and eggs. What I said was: Give me all the bacon and eggs you have. Do you understand?"
  ],
  "term": "bacon"
}

On this page