ITunesSearchAPI class

Available extensions

Constructors

ITunesSearchAPI.new()

Properties

client ↔ Client?
Provide an HTTP Client that can be replaced for mock testing.
getter/setter pair
debugLogging bool
Enable print statements for debugging.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
iTunesDocumentationURL String
iTunes Search API documentation URL
final
lookupPrefixURL String
iTunes Lookup API URL
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchPrefixURL String
iTunes Search API URL
final

Methods

bundleId(Map response) String?

Available on ITunesSearchAPI, provided by the ITunesResults extension

Return field bundleId from iTunes results.
currency(Map response) String?

Available on ITunesSearchAPI, provided by the ITunesResults extension

Return field currency from iTunes results.
description(Map response) String?

Available on ITunesSearchAPI, provided by the ITunesResults extension

Return field description from iTunes results.
lookupByBundleId(String bundleId, {String? country = 'US', bool useCacheBuster = true}) Future<Map?>
Look up by bundle id. Example: look up Google Maps iOS App: lookupURLByBundleId('com.google.Maps'); lookupURLByBundleId('com.google.Maps', country: 'FR');
lookupById(String id, {String country = 'US', bool useCacheBuster = true}) Future<Map?>
Look up by id. Example: look up Google Maps iOS App: lookupURLById('585027354'); lookupURLById('585027354', country: 'FR');
lookupURLByBundleId(String bundleId, {String country = 'US', bool useCacheBuster = true}) String?
Look up URL by bundle id. Example: look up Google Maps iOS App: lookupURLByBundleId('com.google.Maps'); lookupURLByBundleId('com.google.Maps', country: 'FR');
lookupURLById(String id, {String country = 'US', bool useCacheBuster = true}) String?
Look up URL by id. Example: look up Jack Johnson by iTunes ID: lookupURLById('909253'); Example: look up Google Maps iOS App: lookupURLById('585027354'); Example: look up Google Maps iOS App: lookupURLById('585027354', country: 'FR');
lookupURLByQSP(Map<String, String?> qsp, {bool useCacheBuster = true}) String?
Look up URL by QSP.
minAppVersion(Map response, {String tagName = 'mav'}) → Version?

Available on ITunesSearchAPI, provided by the ITunesResults extension

Return the minimum app version taken from the tag in the description field from the store response. The format is: :mav: 1.2.3. Returns version, such as 1.2.3, or null.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
releaseNotes(Map response) String?

Available on ITunesSearchAPI, provided by the ITunesResults extension

Return field releaseNotes from iTunes results.
toString() String
A string representation of this object.
inherited
trackViewUrl(Map response) String?

Available on ITunesSearchAPI, provided by the ITunesResults extension

Return field trackViewUrl from iTunes results.
version(Map response) String?

Available on ITunesSearchAPI, provided by the ITunesResults extension

Return field version from iTunes results.

Operators

operator ==(Object other) bool
The equality operator.
inherited