You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 26, 2025. It is now read-only.
Storelib is a DotNet library that provides APIs to interact with the various Microsoft Store endpoints.
5
9
6
-
## Usage:
10
+
## Usage
7
11
8
12
First, you must initialize the DisplayCatalogHandler with the settings of your choice. During which, the handler can be set to use any market, locale, or endpoint.
The above snippet will create a handler that queries the production endpoint, specifiying the US/English market.
13
19
14
20
From there, the handler can query a product listing.
21
+
15
22
```csharp
16
23
awaitdcathandler.QueryDCATAsync("9wzdncrfj3tj");
17
24
```
18
25
19
26
Once you have a product queried, and ensure it was found using `dcathandler.IsFound`, then you can fetch all .appx, .eappx, .xvc and .msixvc packages respectively for the listing using `GetPackagesForProductAsync();`
20
27
21
-
### Example:
28
+
### Example
29
+
22
30
Fetches and prints the FE3 download links for Netflix's app packages.
@@ -29,9 +38,10 @@ foreach(Uri download in await dcathandler.GetPackagesForProductAsync())
29
38
}
30
39
```
31
40
32
-
### Tips:
41
+
### Tips
33
42
34
43
The DisplayCatalogHandler also supports querying with an auth token. (The Store supports both the MSA format and the XBL3.0 token format) This allows you to query products in other Xbox Live Sandboxes and query flighted listings.
0 commit comments