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

Spike: searching podcasts using podcastindex api #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

eteubert
Copy link
Member

Sucht Podcasts nach Namen, damit wir über ein Suchfeld den RSS Feed ermitteln können.

Erfordert Umgebungsvariablen PODCASTINDEX_KEY und PODCASTINDEX_SECRET. Siehe https://podcastindex-org.github.io/docs-api/#overview--authentication-details

iex(1)> Publisher.Backend.PodcastSearch.search("podlovers")    
[
  %{
    "author" => "Podlovers",
    "image" => "http://backend.podlovers.org/wp-content/uploads/2020/07/white-green_3000x3000.png",
    "title" => "Podlovers",
    "url" => "https://feeds.podlovers.org/mp3"
  },
  %{
    "author" => "Norman Chella",
    "image" => "https://storage.buzzsprout.com/variants/t4x1soo2cswcss9bf47wu8x5y7kr/60854458c4d1acdf4e1c2f79c4137142d85d78e379bdafbd69bd34c85f5819ad.jpg",
    "title" => "Podlovers Asia: All about Asian Podcasting",
    "url" => "https://feeds.buzzsprout.com/1362508.rss"
  },
  %{
    "author" => "Podlove",
    "image" => "https://d3t3ozftmdmh3i.cloudfront.net/production/podcast_uploaded_nologo/13442246/13442246-1615335081254-952ca5936395d.jpg",
    "title" => "Podlove",
    "url" => "https://anchor.fm/s/50b7d3d8/podcast/rss"
  },
  %{
    "author" => "Lovi Dinar",
    "image" => "https://d3t3ozftmdmh3i.cloudfront.net/production/podcast_uploaded/3678515/3678515-1585272391231-f33fdd0b0a194.jpg",
    "title" => "PodLov",
    "url" => "https://anchor.fm/s/16858e6c/podcast/rss"
  }
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant