Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate link to iTunes, Spotify and Youtube from the top listening list #22

Open
msusur opened this issue Feb 23, 2019 · 5 comments
Open
Assignees
Labels
enhancement New feature or request GRAPHQL help wanted Extra attention is needed REACT

Comments

@msusur
Copy link
Owner

msusur commented Feb 23, 2019

It's very difficult to collect all the links through different channels. It would be great to display links in the list that is displayed in Total Listens tab.

@msusur msusur added enhancement New feature or request help wanted Extra attention is needed GRAPHQL REACT labels Feb 23, 2019
@uguratar uguratar self-assigned this Feb 24, 2019
@uguratar
Copy link

What kind of links are we talking about here? Do you mean deep links of each episode on different platforms?
Like:
https://simplecast.com/s/b44578c9
https://www.youtube.com/watch?v=H3SxXT4yRC4
https://open.spotify.com/episode/6e6zEAnbp67G5ISBiD9DFX?si=7I1frsd0SNe5xY-yqFBbYA

@msusur
Copy link
Owner Author

msusur commented Feb 24, 2019 via email

@uguratar
Copy link

Great!
I will check spotify and iTunes which seems like the tricky ones, YouTube and SimpleCast were the low hanging fruits.

@msusur
Copy link
Owner Author

msusur commented Feb 24, 2019 via email

msusur added a commit that referenced this issue Feb 24, 2019
Adds youtube and simplecast links in total listens tab #22
@msusur
Copy link
Owner Author

msusur commented Feb 24, 2019

I've found a search API for iTunes.

If you GET into this url https://itunes.apple.com/search?term=codefiction then you'll get the following result;

{
  "resultCount": 1,
  "results": [
    {
      "wrapperType": "track",
      "kind": "podcast",
      "collectionId": 1172391831,
      "trackId": 1172391831,
      "artistName": "Codefiction Community",
      "collectionName": "Codefiction Podcast",
      "trackName": "Codefiction Podcast",
      "collectionCensoredName": "Codefiction Podcast",
      "trackCensoredName": "Codefiction Podcast",
      "collectionViewUrl": "https://itunes.apple.com/us/podcast/codefiction-podcast/id1172391831?mt=2&uo=4",
      "feedUrl": "https://rss.simplecast.com/podcasts/7776/rss",
      "trackViewUrl": "https://itunes.apple.com/us/podcast/codefiction-podcast/id1172391831?mt=2&uo=4",
      "artworkUrl30": "https://is4-ssl.mzstatic.com/image/thumb/Music118/v4/58/11/b4/5811b483-f0bf-a5d9-0c8e-89e0f447347d/source/30x30bb.jpg",
      "artworkUrl60": "https://is4-ssl.mzstatic.com/image/thumb/Music118/v4/58/11/b4/5811b483-f0bf-a5d9-0c8e-89e0f447347d/source/60x60bb.jpg",
      "artworkUrl100": "https://is4-ssl.mzstatic.com/image/thumb/Music118/v4/58/11/b4/5811b483-f0bf-a5d9-0c8e-89e0f447347d/source/100x100bb.jpg",
      "collectionPrice": 0,
      "trackPrice": 0,
      "trackRentalPrice": 0,
      "collectionHdPrice": 0,
      "trackHdPrice": 0,
      "trackHdRentalPrice": 0,
      "releaseDate": "2019-01-31T19:24:00Z",
      "collectionExplicitness": "cleaned",
      "trackExplicitness": "cleaned",
      "trackCount": 70,
      "country": "USA",
      "currency": "USD",
      "primaryGenreName": "Software How-To",
      "contentAdvisoryRating": "Clean",
      "artworkUrl600": "https://is4-ssl.mzstatic.com/image/thumb/Music118/v4/58/11/b4/5811b483-f0bf-a5d9-0c8e-89e0f447347d/source/600x600bb.jpg",
      "genreIds": [
        "1480",
        "26",
        "1318",
        "1448"
      ],
      "genres": [
        "Software How-To",
        "Podcasts",
        "Technology",
        "Tech News"
      ]
    }
  ]
}

It's a bit weak, but might be something worth looking at.

Repository owner deleted a comment from luangkhot Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request GRAPHQL help wanted Extra attention is needed REACT
Projects
None yet
Development

No branches or pull requests

2 participants