Skip to content

Commit

Permalink
Added HiRes page, cleanup comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tehkillerbee committed Feb 28, 2024
1 parent 8f19cea commit f43bd91
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions tidalapi/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -950,6 +950,14 @@ def explore(self) -> page.Page:
"""
return self.page.get("pages/explore")

def hires_page(self) -> page.Page:
"""
Retrieves the HiRes page, as seen on https://listen.tidal.com/view/pages/hires
:return: A :class:`.Page` object with the :class:`.PageCategory` list from the explore page
"""
return self.page.get("pages/hires")

def for_you(self) -> page.Page:
"""
Retrieves the For You page, as seen on https://listen.tidal.com/view/pages/for_you
Expand Down
4 changes: 2 additions & 2 deletions tidalapi/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,9 +386,9 @@ def videos(self) -> List["Video"]:
)

def mixes(self, limit: Optional[int] = 50, offset: int = 0) -> List["MixV2"]:
"""Get the users favorite tracks.
"""Get the users favorite mixes & radio.
:return: A :class:`list` of :class:`~tidalapi.media.Track` objects containing all of the favorite tracks.
:return: A :class:`list` of :class:`~tidalapi.media.Mix` objects containing the user favourite mixes & radio
"""
params = {"limit": limit, "offset": offset}
return cast(
Expand Down

0 comments on commit f43bd91

Please sign in to comment.