Skip to content

Commit

Permalink
Rebase to add artist info
Browse files Browse the repository at this point in the history
  • Loading branch information
kutu-dev committed Sep 29, 2023
1 parent 16081b8 commit 3835668
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/knuckles/browsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_genre(self, name: str) -> Genre | None:
:param name: The name of the genre to get.
:type name: str
:return: A genre object that correspond with the given name
or None if if no genre found.
or None if is no genre found.
:rtype: Genre | None
"""

Expand Down Expand Up @@ -144,7 +144,7 @@ def get_song(self, id: str) -> Song:
def get_artist_info(
self, id: str, count: int | None = None, include_not_present: bool | None = None
) -> ArtistInfo:
response = self.api.request(
response = self.api.json_request(
"getArtistInfo2",
{"id": id, "count": count, "includeNotPresent": include_not_present},
)["artistInfo2"]
Expand Down

0 comments on commit 3835668

Please sign in to comment.