Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/mega6453/appcenter.downloadapp.getappinfo
- Owner: mega6453
- Created: 2020-08-16T16:02:25.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-10T07:52:18.000Z (about 1 year ago)
- Last Synced: 2025-01-18T03:08:27.325Z (18 days ago)
- Topics: appcenter, appcenter-download, nuget, nuget-package
- Language: C#
- Homepage: https://www.nuget.org/packages/AppCenter.DownloadApp.GetAppInfo
- Size: 2.51 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AppCenter.DownloadApp.GetAppInfo
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 projectMicrosoft 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.```
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)