spotify_cli/endpoints/shows/get_show.rs
1use crate::http::api::SpotifyApi;
2use crate::http::client::HttpError;
3use crate::http::endpoints::Endpoint;
4use serde_json::Value;
5
6/// Get show (podcast) details by ID
7pub async fn get_show(client: &SpotifyApi, show_id: &str) -> Result<Option<Value>, HttpError> {
8 client.get(&Endpoint::Show { id: show_id }.path()).await
9}