Skip to content
Digi.me Developers Portal Home
Skip to content

PlayHistory (object)

User's previously played songs

Object details

  • accountentityid  

    Internal index used by digi.me

    • Data Type   string

    • Example   "19_twjruarv1o1v6nf5wvst258m2"

  • baseid  

    Internal index used by digi.me

    • Data Type   string

  • createddate  

    Date expressed as a unix timestamp

    • Data Type   number

    • Example   1568991855736

  • entityid  

    Internal index used by digi.me

    • Data Type   string

    • Example   "19_twjruarv1o1v6nf5wvst258m2_1568991855736_4kV4N9D1iKVxx1KLvtTpjS"

  • id  

    • Data Type   string

    • Example   "1568991855736_4kV4N9D1iKVxx1KLvtTpjS"

  • referenceentityid  

    Internal index used by digi.me

    • Data Type   string

  • referenceentitytype  

    Internal index used by digi.me

    • Data Type   number

  • socialnetworkuserentityid  

    Internal index used by digi.me

    • Data Type   string

  • track  

    Internal object reference

    • Data Type   Track

    • Example  

      {
          "accountentityid": "19_twjruarv1o1v6nf5wvst258m2",
          "album": {
              "accountentityid": "19_twjruarv1o1v6nf5wvst258m2",
              "artists": [
                  {
                      "accountentityid": "19_twjruarv1o1v6nf5wvst258m2",
                      "entityid": "19_twjruarv1o1v6nf5wvst258m2_66CXWjxzNUsdJxJ2JdwvnR",
                      "id": "66CXWjxzNUsdJxJ2JdwvnR",
                      "link": "https://open.spotify.com/artist/66CXWjxzNUsdJxJ2JdwvnR",
                      "name": "Ariana Grande"
                  }
              ],
              "availablemarkets": [
                  "AD"
              ],
              "entityid": "19_twjruarv1o1v6nf5wvst258m2_2fYhqwDWXjbpjaIJPEfKFw",
              "id": "2fYhqwDWXjbpjaIJPEfKFw",
              "link": "https://open.spotify.com/album/2fYhqwDWXjbpjaIJPEfKFw",
              "name": "thank u, next",
              "releasedate": 1549584000000,
              "resources": [
                  {
                      "aspectratio": {
                          "accuracy": 100,
                          "actual": "1:1",
                          "closest": "1:1"
                      },
                      "height": 640,
                      "mimetype": "application/octet-stream",
                      "type": 0,
                      "url": "https://i.scdn.co/image/38205ab1bdc4b37b68b3ace40989afb6c2c1faa9",
                      "width": 640
                  }
              ],
              "type": "album"
          },
          "artists": [
              {
                  "accountentityid": "19_twjruarv1o1v6nf5wvst258m2",
                  "entityid": "19_twjruarv1o1v6nf5wvst258m2_66CXWjxzNUsdJxJ2JdwvnR",
                  "followerscount": 36763376,
                  "genres": [
                      "dance pop"
                  ],
                  "id": "66CXWjxzNUsdJxJ2JdwvnR",
                  "link": "https://open.spotify.com/artist/66CXWjxzNUsdJxJ2JdwvnR",
                  "name": "Ariana Grande",
                  "popularity": 94,
                  "resources": [
                      {
                          "aspectratio": {
                              "accuracy": 100,
                              "actual": "1:1",
                              "closest": "1:1"
                          },
                          "height": 640,
                          "mimetype": "application/octet-stream",
                          "type": 0,
                          "url": "https://i.scdn.co/image/b1dfbe843b0b9f54ab2e588f33e7637d2dab065a",
                          "width": 640
                      }
                  ]
              }
          ],
          "availablemarkets": [
              "AD"
          ],
          "discnumber": 1,
          "duration": 190440,
          "entityid": "19_twjruarv1o1v6nf5wvst258m2_4kV4N9D1iKVxx1KLvtTpjS",
          "explicit": true,
          "id": "4kV4N9D1iKVxx1KLvtTpjS",
          "link": "https://open.spotify.com/track/4kV4N9D1iKVxx1KLvtTpjS",
          "name": "break up with your girlfriend, im bored",
          "number": 12,
          "popularity": 86,
          "resources": [
              {
                  "duration": 30000,
                  "mimetype": "audio/mp3",
                  "type": 2,
                  "url": "https://p.scdn.co/mp3-preview/84462d8e1e4d0f9e5ccd06f0da390f65843774a2?cid=8f62e65c31d74c15b9c8129505694ee1"
              }
          ]
      }
      
  • updateddate  

    Date expressed as a unix timestamp

    • Data Type   number