A simple and easy library to Download application and Get application information from Microsoft AppCenter.
A .NetStandard v2.0 / .NetFramework v4.6.2 / .NetFramework v4.6.2 project
Microsoft AppCenter Access
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.
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.
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.
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.
- AppCenter APIs - The Official Raw Rest APIs
- Restsharp - API Management
- Newtonsoft.Json - Json Management
- Clone the Repo
- Make changes
- Create a pull request
This project is licensed under the MIT License