Skip to content

itunespy 1.6

Compare
Choose a tag to compare
@sleepyfran sleepyfran released this 13 May 07:39
· 12 commits to master since this release
1937f8d

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.