Skip to content

mega6453/AppCenter.DownloadApp.GetAppInfo

Repository files navigation

AppCenter.DownloadApp.GetAppInfo AppCenterDownload

A simple and easy library to Download application and Get application information from Microsoft AppCenter.

Prerequisites

A .NetStandard v2.0 / .NetFramework v4.6.2 / .NetFramework v4.6.2 project

Microsoft AppCenter Access

Installing

Right Click on your project in the visual studio solution explorer -> Manage nuget packages -> Search for AppCenterDownloadAppGetAppInfo -> Select AppCenterDownloadAppGetAppInfo By Meganathan from the list -> Select project -> Install.

Gathering dependency information may take a minute or more.

How to Use? It's simple!

Import "AppCenterDownloadAppGetAppInfo".

using AppCenterDownloadAppGetAppInfo;

Create a new instance of AppCenter with the API Token and Owner Name.

AppCenter appCenter = new AppCenter("APIToken", "OwnerName");

APIToken = Login to Appcenter->Account Settings->Use API Tokens->New API Token->Copy.
OwnerName = URL might be https://appcenter.ms/orgs/Microsoft/apps/APIExample and the {owner_name} would be Microsoft.

e.g. AppCenter appCenter = new AppCenter("xxxxxxxxxx", "Microsoft");

Use the created instance to call the available methods.

e.g.
appCenter.DownloadApplication(string AppName, string ReleaseID, string DownloadLocation, bool DeleteExistingApps);

AppName = URL might be https://appcenter.ms/orgs/Microsoft/apps/APIExample and the {AppName} would be APIExample.
ReleaseID = Enter as "Latest" to get the latest version OR Use GetReleaseID() method to get a Release ID OR Login to Appcenter->Select an app->See all releases->"Release" value under Release history.

e.g. appCenter.DownloadApplication("APIExample", "latest", "c:\\users\\mega\\desktop\\", false);
This will download the application in to the specified location and will return the file path as string.

Available Methods

No much information added here about the methods since all the methods are having description and parameter info which will be displayed while using the methods.

MethodDesc

DownloadApplication() (+ 3 overloads)
GetAllDeviceDetails()
GetAllReleasesInformation()
GetApplicationBuildNumber()
GetApplicationBundleID()
GetApplicationDisplayName()
GetApplicationFullVersion()
GetApplicationShortVersion()
GetApplicationSize()
GetApplicationSupportedOS()
GetDeviceDetails()
GetiOSProvisioningProfileInformation()
GetLatestReleaseID()
GetMinimumOSVersionSupportedByApplication()
GetRecentReleasesInformation()
GetReleaseID() (+ 2 overloads)
GetReleaseIDByContains()

More methods will be added in the future releases.

Built With

Authors

Want to add features or fix things?

  • Clone the Repo
  • Make changes
  • Create a pull request

License

This project is licensed under the MIT License

About

A simple and easy Nuget library to Download application and Get application information from Microsoft AppCenter.

Topics

Resources

Stars

Watchers

Forks

Languages