Skip to content

Bastard Operator From Hell API

Sometimes you need an excuse for an IT problem. Simon Paul Travaglia wrote the amazing "The Bastard Operator From Hell Stories". Based upon these BOFH Stroys Jeff Ballard curated a list of several hundred excuses. Here is a simple API to interact with that. Feel free to use it :)

BOFH-API-Usage Overview

1. Get a random excuse
2. Get several random excuses
3. Get a certain excuse via id
4. Get all excuses
5. Links
6. Web-Generator

Get a random excuse

// GET /v1/excuses/random
https://bofh-api.bombeck.io/v1/excuses/random/
// returns a single random excuse as json
[
  {
    "id": 152,
    "quote": "My pony-tail hit the on/off switch on the power strip.",
    "source": "http://pages.cs.wisc.edu/~ballard/bofh/",
    "date": "2021-01-12"
  }
]

Get several random excuses

// GET /v1/excuses /random/{number}
https://bofh-api.bombeck.io/v1/excuses/random/5
//  returns 5 random excuses as json
[
  {
    "id": 292,
    "quote": "We ran out of dial tone and we're and waiting for the phone company to deliver another bottle.",
    "source": "http://pages.cs.wisc.edu/~ballard/bofh/",
    "date": "2021-01-12"
  },
  {
    "id": 308,
    "quote": "CD-ROM server needs recalibration",
    "source": "http://pages.cs.wisc.edu/~ballard/bofh/",
    "date": "2021-01-12"
  },
  ...
]

Get a certain excuse via id

// GET /v1/excuses /id/{id}
https://bofh-api.bombeck.io/v1/excuses/id/42
// returns the explicit excuse
[
  {
    "id": 42,
    "quote": "spaghetti cable cause packet failure",
    "source": "http://pages.cs.wisc.edu/~ballard/bofh/",
    "date": "2021-01-12"
  }
]

Get all excuses

// GET /v1/excuses/all
https://bofh-api.bombeck.io/v1/excuses/all
// returns a list with all excuses ordered by id
 [
  {
    "id": 1,
    "quote": "clock speed",
     "source": "http://pages.cs.wisc.edu/~ballard/bofh/",
    "date": "2021-01-12"
  },
  ...
]

You can find the API here: bofh-api.bombeck.io/v1/excuses

Web-Generator:

You can find a simple online generator here: it-excuse.bombeck.io