-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
Add an endpoint that returns similar podcasts based on a given podcast ID.
Endpoint Design
GET /related?id=123456&limit=10
Response:
{
"related": [
{ "trackId": 789, "trackName": "Similar Podcast", "genre": "Technology" }
],
"sourceId": 123456,
"matchedBy": "genre"
}Implementation Notes
- Use iTunes lookup API to fetch podcast details:
https://itunes.apple.com/lookup?id={id} - Match by genre first, then by search term similarity
- Cache aggressively (podcast metadata doesn't change often)
- Consider using
genreIdsarray from podcast metadata
Acceptance Criteria
-
/related?id=123returns similar podcasts - Returns empty array for invalid/unknown podcast ID
- Respects limit parameter (1-20)
- Response is cached appropriately
- Tests added
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request