Itunespy

Latest version: v1.6.1

Safety actively analyzes 682244 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.6.1

Thanks to pfouque for the fix on this release!

-----

- PR 17: JSON parsing errors are now caught by `itunespy` and reported under a `RuntimeError`. Fixes 16
- Better typings for optional arguments, which were previously not wrapped on `Optional` even though their default value was `None`.

1.6

Thanks to the wonderful codello who did all the amazing work on this release! 👍

-----

- 🔥 **Breaking**: This version and further versions of `itunespy` will **NOT** support any Python version below 3.5. If you need to use this library in any other version you can use `itunespy <= 1.5.5` but those won't get any support or new features.
- 🔥 **Breaking**: `__repr__` now returns a different value (see below) so make sure you don't use this in a non-compatible way before updating.
-----
- 😄 Type hints are now available throughout the code
- 😄 `collection_type`, `artist_type` and `track_type` are now available in a `ResultItem` even if it does not have a `wrapperType`. This is to provide a more consistent interface allowing to query arbitrary fields in a result.
- 😄 `__repr__` now returns the underlying JSON object of a `ResultItem`.
- 😄 `ResultItem` now has a `get_country()` method for converting between country code formats via `pycountry`.
- 🐛 The country specified in a query is now preserved in any sub-query. Example: Specifying a country via `search_artist` will now retain that same country when doing a `get_albums`.
- 🐛 Performing lookups and searches does not raise an error anymore if the `artist_amg_id` or `ups` is not a `str`.
- 🐛 Fixed cases in which special characters in search terms or other query parameters would not be properly escaped.

1.5.5

- 🐛 No SSL errors anymore
- ❗ itunespy now requires _requests 2.8.0_

1.5

- 😄 Now you can get a Track time in _minutes_ and _hours_ using `get_track_time_minutes()` and `get_track_time_hours()`
- 😄 The function `get_tracks()` in `MusicAlbum` now stores all tracks in `_track_list` if it's empty
- 😄 You can also get the full playing time of an album using `get_album_time()`
- 😄 `search_director` and `search_movie` implemented

1.3

- 🔥 **Breaking**: This new release deprecates the use of `artist_genre_name` and `artist_genre_id` in favor of `primary_genre_name` and `primary_genre_id` since those properties can be in artists, albums, tracks and more.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.