JessicaGreben / analytics

1 stars 0 forks source link

investigate what spotify data we can get publicly for podcasts #4

Open JessicaGreben opened 5 years ago

ryanloughlin25 commented 5 years ago

I don't think we can measure engagement on spotify via the api.

Below is an example of the data available for each episode from the spotify api. There is no information about downloads, popularity, etc. This is an undocumented endpoint and likely to change in the future.

{
  "audio_preview_url" : "https://p.scdn.co/mp3-preview/1d79aa553a188ba7a8b5582af88a76519343e6df",
  "description" : "Cardiologist and author Eric Topol talks about his book Deep Medicine with EconTalk host Russ Roberts. Topol argues that doctors spend too little face-to-face time with patients, and the use of artificial intelligence and machine learning is a chance to emphasize the human side of medicine and to expand the power of human connection in healing. Topol surveys the current landscape of the application of technology to health care showing where its promise has been overstated and where it is having the most impact. The conversation includes a discussion of the placebo effect and the importance of the human touch in medicine.",
  "duration_ms" : 4105796,
  "explicit" : false,
  "external_urls" : {
    "spotify" : "https://open.spotify.com/episode/0SLg5IZKP8i9DNUzZ7LXUj"
  },
  "href" : "https://api.spotify.com/v1/episodes/0SLg5IZKP8i9DNUzZ7LXUj",
  "id" : "0SLg5IZKP8i9DNUzZ7LXUj",
  "images" : [ {
    "height" : 640,
    "url" : "https://i.scdn.co/image/10d89a39fb427a60e9717a38aedf33d58193f4a4",
    "width" : 640
  }, {
    "height" : 300,
    "url" : "https://i.scdn.co/image/b0dd9dcb5e163573abf229ab1beff4906bdf0c94",
    "width" : 300
  }, {
    "height" : 64,
    "url" : "https://i.scdn.co/image/12d59a854c307fd6ecfede002caa288d74a93edd",
    "width" : 64
  } ],
  "is_externally_hosted" : false,
  "is_playable" : true,
  "language" : "en-US",
  "name" : "Eric Topol on Deep Medicine",
  "release_date" : "2019-06-24",
  "release_date_precision" : "day",
  "show" : {
    "available_markets" : [ "AD", "AE", "AR", "AT", "AU", "BE", "BG", "BH", "BO", "BR", "CA", "CH", "CL", "CO", "CR", "CY", "CZ", "DE", "DK", "DO", "DZ", "EC", "EE", "ES", "FI", "FR", "GB", "GR", "GT", "HK", "HN", "HU", "ID", "IE", "IL", "IN", "IS", "IT", "JO", "JP", "KW", "LB", "LI", "LT", "LU", "LV", "MA", "MC", "MT", "MX", "MY", "NI", "NL", "NO", "NZ", "OM", "PA", "PE", "PH", "PL", "PS", "PT", "PY", "QA", "RO", "SE", "SG", "SK", "SV", "TH", "TN", "TR", "TW", "US", "UY", "VN", "ZA" ],
    "copyrights" : [ ],
    "description" : "EconTalk is an award-winning weekly talk show about economics in daily life. Featured guests include renowned economics professors, Nobel Prize winners, and exciting speakers on all kinds of topical matters related to economic thought.  Host Russ Roberts, of the Library of Economics and Liberty and the Hoover Institution, draws you in with lively guests and creative repartee.  Topics include health care, business cycles, economic growth, free trade, education, finance, politics, sports, book reviews, and the curiosities of everyday decision-making. Look for related readings and the complete archive of previous shows at EconTalk.org, where you can also comment on the podcasts and ask questions.",
    "explicit" : false,
    "external_urls" : {
      "spotify" : "https://open.spotify.com/show/4M5Gb71lskQ0Rg6e08uQhi"
    },
    "href" : "https://api.spotify.com/v1/shows/4M5Gb71lskQ0Rg6e08uQhi",
    "id" : "4M5Gb71lskQ0Rg6e08uQhi",
    "images" : [ {
      "height" : 640,
      "url" : "https://i.scdn.co/image/10d89a39fb427a60e9717a38aedf33d58193f4a4",
      "width" : 640
    }, {
      "height" : 300,
      "url" : "https://i.scdn.co/image/b0dd9dcb5e163573abf229ab1beff4906bdf0c94",
      "width" : 300
    }, {
      "height" : 64,
      "url" : "https://i.scdn.co/image/12d59a854c307fd6ecfede002caa288d74a93edd",
      "width" : 64
    } ],
    "is_externally_hosted" : false,
    "languages" : [ "en" ],
    "media_type" : "audio",
    "name" : "EconTalk",
    "publisher" : "EconTalk: Russ Roberts, Library of Economics and Liberty",
    "type" : "show",
    "uri" : "spotify:show:4M5Gb71lskQ0Rg6e08uQhi"
  },
  "type" : "episode",
  "uri" : "spotify:episode:0SLg5IZKP8i9DNUzZ7LXUj"
}