-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(api): add get_podcasts method for batch retrieval
This commit introduces a new method `get_podcasts` to the `NrkPodcastAPI` class, allowing for batch retrieval of multiple podcasts. The CLI has been updated to support fetching multiple podcasts in a single command. Changes include: • New `get_podcasts` method in api.py using `asyncio.gather` for concurrent requests • Modified `get_podcast` CLI command to accept multiple podcast IDs • Updated CLI help text and function description for `get_podcast` • Adjusted `get_podcast` CLI function to use the new batch retrieval method
- Loading branch information
Showing
2 changed files
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters