Team data & split up year/set/number into their own objects in the api

Avatar
  • updated

Instead of showing a response like this 

  {
    "productId": "90923",
    "name": "Michael Jordan #8",
    "setName": "Basketball Cards 1986 Fleer Sticker",
    "currency": "USD",
    "prices": {
      "loose": 675,
      "cib": 1247.5,
      "new": 1994.66,
      "graded": 5716.75
    }
  },

It would be great if it was structured better like this

  {
    "productId": "90923",
    "name": "Michael Jordan",
    "game": "Basketball Cards",
    "setName": "1986 Fleer Sticker",
    "team": "Chicago Bulls",
    "year": "1986",
    "number": "8"
    "currency": "USD",
    "prices": {
      "loose": 675,
      "cib": 1247.5,
      "new": 1994.66,
      "graded": 5716.75
    }
  },
Avatar
Anonymous

proposed idea is great - definitely streamlines info in a way that makes sense & is easy to read.

my only change would be to change "number" to "card number" (some people may confuse it for the players jersey #);& then move it so it appears under the set name.


Reply to