ITunesSearchAPI class

Available extensions

Constructors

ITunesSearchAPI()

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

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.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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