AppStoreConnect.Bug 4.2.1

dotnet add package AppStoreConnect.Bug --version 4.2.1
                    
NuGet\Install-Package AppStoreConnect.Bug -Version 4.2.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AppStoreConnect.Bug" Version="4.2.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AppStoreConnect.Bug" Version="4.2.1" />
                    
Directory.Packages.props
<PackageReference Include="AppStoreConnect.Bug" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AppStoreConnect.Bug --version 4.2.1
                    
#r "nuget: AppStoreConnect.Bug, 4.2.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AppStoreConnect.Bug@4.2.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AppStoreConnect.Bug&version=4.2.1
                    
Install as a Cake Addin
#tool nuget:?package=AppStoreConnect.Bug&version=4.2.1
                    
Install as a Cake Tool

AppStoreConnect.Net

Apple App Store Connect API Client .NET library generated by the OpenAPI Generator CLI tool.
Fork from redth/AppStoreConnectNet

CI NuGet version

Usage

  1. Generate an API Key Instructions from Apple
  2. Obtain your Key ID, Issuer ID, and Private Key file (.p8)
  3. You must use the AppStoreConnectConfiguration type when creating instances of the Api classes.
// Fill in our Key ID, Issuer ID, and Private Key file contents:
var keyId = "XYZ123ABC";
var issuerId = "11111111-AABB-CCDD-EEFF-123456ABCDEF";
var privateKey = @"-----BEGIN PRIVATE KEY-----YOUR-P8-PRIVATE-KEY-FILE-CONTENTS-HERE-----END PRIVATE KEY-----";

// Must use AppStoreConnectConfiguration
var config = new AppStoreConnect.Client.AppStoreConnectConfiguration(keyId, issuerId, privateKey);

// Create a new instance of the ProfilesApi
var api = new AppStoreConnect.Api.ProfilesApi(config);

// Fetch all profiles for this account
var profiles = await api.ProfilesGetCollectionAsync().ConfigureAwait(false);

// Display all the profiles' Name and Uuid
foreach (var profile in profiles.Data)
{
    Console.WriteLine($"{profile.Attributes.Name} ({profile.Attributes.Uuid})");
}

Test

  • Set the following environment variables
    • APP_STORE_CONNECT_KEY_ID
    • APP_STORE_CONNECT_ISSUER_ID
    • APP_STORE_CONNECT_PRIVATE_KEY

Generating / Updating

  1. (Optional) Download a newer openapi.oas.json spec file: https://developer.apple.com/sample-code/app-store-connect/app-store-connect-openapi-specification.zip and extract it to the root folder of the repo.

  2. Ensure the open api generator CLI tool is installed: & npm install @openapitools/openapi-generator-cli (requires NPM to be already installed).

  3. Generate the C# client

  • & npx @openapitools/openapi-generator-cli generate -i openapi.oas.json -g csharp -o ./generated -c openapi-config.yaml --skip-validate-spec
  • or & npm run gen-csharp if you have the script in package.json
  1. Touch up any build errors (there's a number of duplicated methods/fields that need to be commented out in various files)

Additions

The Directory.Build.props file automatically includes .cs files from the additions folder which is where the AppStoreConnectConfiguration type is defined.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.2.1 72 1/13/2026
4.2.0 70 1/12/2026
0.999.0-ci20920249849 75 1/12/2026
0.0.1 73 1/12/2026

Minor update