Skip to content

Commit

Permalink
Create a migration guide from 0.6.x to 0.7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
morguldir committed Aug 20, 2022
1 parent ba664f8 commit fa4a3fa
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ Indices and tables
playlist
api
history
migration
genindex
py-modindex
19 changes: 19 additions & 0 deletions docs/migration.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

Migration guides
================


Migrating from 0.6.x -> 0.7.x
-----------------------------

This update added a lot more docstrings to functions, added pagination to most functions,
and it uses methods a lot more over functions that take id's, for example ``session.get_album_tracks(108064429)``
is now ``session.album(108064429).tracks()`` instead

Additionally a few of the pages have been deprecated on TIDAL's side and aren't being updated anymore, this applies to genres
and moods mostly, so see :ref:`pages` for how to find these at their new homes, but note that you will probably need to search

Searching will be a bit more robust now, since you pass actual types,
instead of keywords matching the types. See :class:`~tidalapi.session.Session.search` for details

Also generally instead of things like ``session.get_track(track_id)``, you will now use session.track(track_id)

0 comments on commit fa4a3fa

Please sign in to comment.