Skip to content

Implment api to get albums from an artist#47

Open
imgen wants to merge 6 commits into
IcySnex:recodefrom
imgen:get-albums-from-an-artist
Open

Implment api to get albums from an artist#47
imgen wants to merge 6 commits into
IcySnex:recodefrom
imgen:get-albums-from-an-artist

Conversation

@imgen

@imgen imgen commented Jun 11, 2026

Copy link
Copy Markdown

The corresponding task is Get all albums from an artist

/// <returns>A list of the <see cref="ArtistAlbum"/> containing the information</returns>
/// <exception cref="HttpRequestException">Occurs when the HTTP request fails.</exception>
/// <exception cref="OperationCanceledException">Occurs when this task was canceled.</exception>
public async Task<ArtistAlbums> GetAllByArtistAsync(

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Getting all albums by an artist is a feature of the artist-broswe page. I think we should rather move this to ArtistService.cs

namespace YouTubeMusicAPI.Services.Albums;

/// <summary>
///

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
///
/// Represents a list of all YouTube Music albums of an artist

{
Ensure.NotNullOrEmpty(browseId, nameof(browseId));

const string paramsValue = "ggMIegYIARoCAQI%3D";

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this paramsValue required? Seems randomly generated. Did you try to send the request without it?

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.

2 participants