Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mega6453/appcenter.downloadapp.getappinfo

A simple and easy Nuget library to Download application and Get application information from Microsoft AppCenter.
https://github.com/mega6453/appcenter.downloadapp.getappinfo

appcenter appcenter-download nuget nuget-package

Last synced: 18 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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

* [AppCenter APIs](https://openapi.appcenter.ms) - The Official Raw Rest APIs
* [Restsharp](https://www.nuget.org/packages/RestSharp) - API Management
* [Newtonsoft.Json](https://www.nuget.org/packages/Newtonsoft.Json/) - Json Management

## Authors

* [**Meganathan C**](https://mega6453.carrd.co)

## 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](https://licenses.nuget.org/MIT)