Skip to content

Releases: sleepyfran/itunespy

itunespy 1.6.1

12 Jul 09:39
Compare
Choose a tag to compare

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.

itunespy 1.6

13 May 07:39
1937f8d
Compare
Choose a tag to compare

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.

itunespy v1.5.5

07 Oct 11:33
8519aec
Compare
Choose a tag to compare
  • 🐛 No SSL errors anymore
  • ❗ itunespy now requires requests 2.8.0

itunespy v1.5

02 Sep 01:00
Compare
Choose a tag to compare
  • 😄 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

itunespy v1.3

23 Aug 22:16
Compare
Choose a tag to compare
  • 🔥 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.