Documentation
¶
Index ¶
Constants ¶
const ( BundleIDWord = "com.microsoft.Office.Word" BundleIDExcel = "com.microsoft.Office.Excel" BundleIDPowerPoint = "com.microsoft.Office.Powerpoint" BundleIDOutlook = "com.microsoft.Office.Outlook" BundleIDOneNote = "com.microsoft.onenote" BundleIDOneDrive = "com.microsoft.skydrive" BundleIDTeams = "com.microsoft.skype.teams" BundleIDDefender = "com.microsoft.scmx" BundleIDCopilot = "com.microsoft.copilot" BundleIDAuthenticator = "com.microsoft.azureauthenticator" BundleIDToDo = "com.microsoft.to-do-ios" BundleIDEdge = "com.microsoft.msedge" BundleIDCompanyPortal = "com.microsoft.intune.IntuneComp" BundleIDWhiteboard = "com.microsoft.whiteboard" BundleIDLoop = "com.microsoft.loop" BundleIDLists = "com.microsoft.lists.app" )
iOS App Store bundle ID constants for Microsoft applications.
Variables ¶
var AppSearchTerms = []string{
"Microsoft Word",
"Microsoft Excel",
"Microsoft PowerPoint",
"Microsoft Outlook",
"Microsoft OneNote",
"Microsoft OneDrive",
"Microsoft Teams",
"Microsoft Defender",
"Microsoft Copilot",
"Microsoft Loop",
"Microsoft Lists",
"Microsoft SharePoint",
"Microsoft Power Apps",
"Microsoft Authenticator",
"Microsoft Planner",
"Microsoft Azure",
"Microsoft To Do",
"Microsoft Power BI",
"Microsoft Admin",
"Microsoft Intune Company Portal",
"Skype for Business",
"Microsoft Whiteboard",
"Microsoft Edge",
"Seeing AI",
"Microsoft Lens PDF Scanner",
"Windows App",
}
iOS App Store search terms for Microsoft applications.
Functions ¶
This section is empty.
Types ¶
type AppEntry ¶
type AppEntry struct {
// TrackID is the numeric App Store identifier.
TrackID int `json:"trackId"`
// TrackName is the application's display name in the App Store.
TrackName string `json:"trackName"`
// BundleID is the iOS bundle identifier.
BundleID string `json:"bundleId"`
// Version is the current App Store version string.
Version string `json:"version"`
// CurrentVersionReleaseDate is the ISO 8601 release date of the current version.
CurrentVersionReleaseDate string `json:"currentVersionReleaseDate"`
// MinimumOsVersion is the minimum iOS version required.
MinimumOsVersion string `json:"minimumOsVersion"`
// ReleaseNotes contains the release notes for the current version.
ReleaseNotes string `json:"releaseNotes"`
// ArtworkUrl512 is the URL of the 512×512 app icon.
ArtworkUrl512 string `json:"artworkUrl512"`
// TrackViewURL is the App Store URL for this application.
TrackViewURL string `json:"trackViewUrl"`
// Price is the App Store price (0.0 for free apps).
Price float64 `json:"price"`
// SellerName is the developer name as shown in the App Store.
SellerName string `json:"sellerName"`
}
AppEntry represents a single iOS application in the App Store.
type AppStoreIOSResponse ¶
type AppStoreIOSResponse struct {
// ResultCount is the number of results returned by the iTunes API.
ResultCount int `json:"resultCount"`
// Results contains the individual app entries.
Results []AppEntry `json:"results"`
}
AppStoreIOSResponse holds the search results from the iTunes Search API for iOS Microsoft applications.
type AppStoreIOSService ¶
type AppStoreIOSService struct {
// contains filtered or unexported fields
}
AppStoreIOSService fetches Microsoft application metadata from the iOS App Store via the Apple iTunes Search API.
func NewService ¶
func NewService(c client.Client) *AppStoreIOSService
NewService creates a new AppStoreIOSService.
func (*AppStoreIOSService) GetAllAppsV1 ¶
func (s *AppStoreIOSService) GetAllAppsV1(ctx context.Context) (*AppStoreIOSResponse, error)
GetAllAppsV1 queries the iTunes Search API for all known Microsoft iOS applications and returns the combined deduplicated results.
GET https://itunes.apple.com/search?term={app}&country=us&entity=software
func (*AppStoreIOSService) GetAppByBundleIDV1 ¶
func (s *AppStoreIOSService) GetAppByBundleIDV1(ctx context.Context, bundleID string) (*AppEntry, error)
GetAppByBundleIDV1 fetches iOS App Store metadata for the application with the given bundle identifier.
GET https://itunes.apple.com/search?term={bundleId}&country=us&entity=software
func (*AppStoreIOSService) GetAppByNameV1 ¶
GetAppByNameV1 queries the iOS App Store for a single Microsoft app by display name.
GET https://itunes.apple.com/search?term={name}&country=us&entity=software