MyTribe.AppStoreServerApi
0.3.0
dotnet add package MyTribe.AppStoreServerApi --version 0.3.0
NuGet\Install-Package MyTribe.AppStoreServerApi -Version 0.3.0
<PackageReference Include="MyTribe.AppStoreServerApi" Version="0.3.0" />
paket add MyTribe.AppStoreServerApi --version 0.3.0
#r "nuget: MyTribe.AppStoreServerApi, 0.3.0"
// Install MyTribe.AppStoreServerApi as a Cake Addin #addin nuget:?package=MyTribe.AppStoreServerApi&version=0.3.0 // Install MyTribe.AppStoreServerApi as a Cake Tool #tool nuget:?package=MyTribe.AppStoreServerApi&version=0.3.0
AppStoreServerApi
A .net 8.0 library to request App Store Server API.
This library is already working but work is still in progress. Don't hesitate to contribute if you see any possible improvment or fixes.
Features
- Implemented all apis corresponding to App Store Server API verison 1.13
- Typed responses
- Manages authentication tokens for you
Usage
Prerequisites
To get started, you must obtain the following:
A note on the issuer ID: Apple's documentation currently has incorrect instructions on how to obtain this. To get your issuer ID, you must create an API key for App Store Connect (not the App Store Server API). Only after creating your first API key will the issuer ID appear.
Create a client
var environment = AppleEnvironment.Production;
var privateKey = @"-----BEGIN PRIVATE KEY-----
....
-----END PRIVATE KEY-----";
var keyId = "2X9R4HXF34";
var issuerId = "57246542-96fe-1a63-e053-0824d011072a";
var bundleId = "com.example.testbundleid";
var client = new AppStoreClient(environment, privateKey, keyId, issuerId, bundleId);
Links
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- JWT (>= 10.1.1)
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
- Microsoft.Extensions.Http (>= 8.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on MyTribe.AppStoreServerApi:
Package | Downloads |
---|---|
Zebble.Billing.Server.AppStore
Zebble IAP plugin for App Store. |
|
Zebble.Billing.Server.AppStoreV2
Zebble IAP plugin for App Store (V2). |
GitHub repositories
This package is not used by any popular GitHub repositories.