-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a migration guide from 0.6.x to 0.7.x
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,5 +13,6 @@ Indices and tables | |
playlist | ||
api | ||
history | ||
migration | ||
genindex | ||
py-modindex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |