AppInfoFetcher is a simple, Swift library for performing App store connect metadata lookup for iOS apps present on the Apple app store. Given an app's bundle identifier the library returns all the app's metadata in a complete model.
- Fully typed model
- Optional data Cache
- Custom store country support
AppInfoFetcher is available as Cocoapod and Swift Package and the repository contains example projects for both with a rudimentary UI compatible with iOS, iPadOS and macOS.
pod 'AppInfoFetcher'
Add you github account to Xcode and search for AppInfoFetcher
or add it directly:
[email protected]:federicocappelli/AppInfoFetcher.git
let bundleID = "com.burbn.instagram"
AppInfoFetcher().fetchInfo(bundleIdentifier: bundleID, useCache: true, countryCode: "GB") { result in
switch result {
case.success(let appsInfo):
// Use the array of AppInfo here
case .failure(let error):
print(error)
}
}
- Cache: If the cache is used only one API call is performed for a bundle identifier
- Country code: If not specified the country code is extracted from the
Locale.current
The AppInfo
model contains a lot of informations like:
- App name:
.trackCensoredName
- App store URL:
.trackViewURL
- App icon URL:
.artworkUrl100
Federico Cappelli
AppInfoFetcher is available under the Apache 2.0 license. See the LICENSE file for more info.