Does the Dog Die API v1.0


Getting Started

All API requests require two HTTP headers:

Acceptapplication/json
X-API-KEYFind your API key on your profile page.

Search

HTTP MethodGET
URLhttps://www.doesthedogdie.com/search?q={searchTerm}
Example:
curl -H 'Accept: application/json' -H 'X-API-KEY: YOUR_API_KEY_HERE' -v -i 'https://www.doesthedogdie.com/search?q=old%20yeller'
{
  "items": [{
    "id": 10752,
    "name": "Old Yeller",
    "cleanName": "oldyeller",
    "genre": null,
    "releaseYear": null,
    "legacyId": 2326,
    "legacyUserId": 28,
    "umId": null,
    "legacyItemType": "movie",
    "newsletterDate": null,
    "createdAt": "2017-06-22T18:20:34.000Z",
    "updatedAt": "2017-07-13T14:58:18.000Z",
    "UserId": 12972,
    "ItemTypeId": 15,
    "itemType": "Movie",
    "itemTypeId": 15
  }, {
    "id": 14147,
    "name": "In Old Yeller",
    "cleanName": "inoldyeller",
    "genre": null,
    "releaseYear": null,
    "legacyId": 5750,
    "legacyUserId": 4363,
    "umId": null,
    "legacyItemType": "movie",
    "newsletterDate": null,
    "createdAt": "2018-02-24T21:16:22.000Z",
    "updatedAt": "2018-02-24T21:16:22.000Z",
    "UserId": 17304,
    "ItemTypeId": 15,
    "itemType": "Movie",
    "itemTypeId": 15
  },
  ...
}

Media

HTTP MethodGET
URLhttps://www.doesthedogdie.com/media/{itemId}
Example:
curl -H 'Accept: application/json' -H 'X-API-KEY: YOUR_API_KEY_HERE' 'https://www.doesthedogdie.com/media/10752'
{
  "item": {
    "id": 10752,
    "name": "Old Yeller",
    "cleanName": "oldyeller",
    "genre": null,
    "releaseYear": null,
    "legacyId": 2326,
    "legacyUserId": 28,
    "legacyItemType": "movie",
    "umId": null,
    "createdAt": "2017-06-22T18:20:34.000Z",
    "updatedAt": "2017-07-13T14:58:18.000Z",
    "UserId": 12972,
    "ItemTypeId": 15,
    "ItemType": {
      "id": 15,
      "name": "Movie",
      "picture": "clapperboard",
      "slug": "movies",
      "createdAt": "2019-02-19T13:02:35.000Z",
      "updatedAt": "2019-02-19T13:02:35.000Z"
    }
  },
  "topicItemStats": [{
    "yesSum": 32,
    "noSum": 3,
    "numComments": 4,
    "TopicId": 153,
    "ItemId": 10752,
    "RatingId": 304065,
    "commentUserIds": "13297,14057,17582,27610",
    "voteSum": 22,
    "comment": "Yes the dog dies. He's shot by his owner after contracting rabies.",
    "isAnonymous": 0,
    "username": "DoesTheDogDie",
    "UserId": 13297,
    "itemName": "Old Yeller",
    "itemCleanName": "oldyeller",
    "releaseYear": null,
    "itemTypeName": "Movie",
    "itemTypeSlug": "movies",
    "itemTypeId": 15,
    "hasUserComment": false,
    "comments": [{
      "id": 304065,
      "voteSum": 22,
      "comment": "Yes the dog dies. He's shot by his owner after contracting rabies.",
      "User": {
        "id": 13297,
        "displayName": "DoesTheDogDie"
      }
    }],
    "topic": {
      "id": 153,
      "name": "a dog dies",
      "notName": "no dogs die",
      "keywords": null,
      "description": null,
      "subtitle": null,
      "doesName": "Does the dog die",
      "listName": "where the dog dies",
      "image": "dog",
      "ordering": 100,
      "isSpoiler": false,
      "isVisible": true,
      "isSensitive": false,
      "smmwDescription": "dogs dying",
      "legacyId": 25,
      "createdAt": "2017-06-22T18:20:34.000Z",
      "updatedAt": "2017-06-22T18:20:34.000Z"
    }
  },
  ...