Podcastindex-org / api

The core API code
Apache License 2.0
6 stars 0 forks source link

Open endpoint to retrieve podcast identifiers #5

Open keunes opened 1 year ago

keunes commented 1 year ago

We were discussing subscriptions sync with the Open Podcast API. It seems like GUID will be the unique cross-app identifier.

If an app doesn't know the GUID yet and it's not in the feed, before calculating one itself, it'd be great to have a quick and open place for the app to get the GUID. Think, for example, of a self-hosted Funkwhale instance by a non-technical person. Not having to request and save an API key would be helpful.

Maybe a triangle-thing could be provided: submit either an RSS feed URL, a GUID or a Podcast Index ID, and get the other two values in return.

Discussed also here: https://mastodon.social/@keunes/109909556657398050

dhk2 commented 1 year ago

This has solved the GUID/feedID problem for me perfectly: https://github.com/brianoflondon/guid-slurp

Unfortunately it doesn't work for episode_guid to itemID issue. and given the weekly lag, even if extended to items would be suboptimal.

An open api endpoint that takes an episode_guid and returns an itemID is by far the best solution for developers unable to secure keys.

This solution would work as well: https://github.com/Podcastindex-org/docs-api/issues/11#issuecomment-997886498