{"id":16687314,"url":"https://github.com/redth/appstoreconnectnet","last_synced_at":"2026-03-17T01:42:28.037Z","repository":{"id":235421984,"uuid":"624923281","full_name":"Redth/AppStoreConnectNet","owner":"Redth","description":".NET Client Library for Apple's AppStoreConnect API's","archived":false,"fork":false,"pushed_at":"2023-04-11T13:32:10.000Z","size":1661,"stargazers_count":21,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-01T22:41:46.680Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Redth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-04-07T15:43:55.000Z","updated_at":"2025-02-05T16:54:39.000Z","dependencies_parsed_at":"2024-04-23T10:37:14.849Z","dependency_job_id":null,"html_url":"https://github.com/Redth/AppStoreConnectNet","commit_stats":null,"previous_names":["redth/appstoreconnectnet"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Redth%2FAppStoreConnectNet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Redth%2FAppStoreConnectNet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Redth%2FAppStoreConnectNet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Redth%2FAppStoreConnectNet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Redth","download_url":"https://codeload.github.com/Redth/AppStoreConnectNet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248132081,"owners_count":21052972,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T15:08:43.531Z","updated_at":"2026-03-17T01:42:27.987Z","avatar_url":"https://github.com/Redth.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AppStoreConnect.Net\n\nApple App Store Connect API Client .NET library generated by the OpenAPI Generator CLI tool.\n\n[![.NET CI](https://github.com/Redth/AppStoreConnectNet/workflows/CI/badge.svg)](https://github.com/Redth/AppStoreConnectNet/actions)\n\n[![.NET Library - AppStoreConnect.NET](https://img.shields.io/nuget/vpre/AppStoreConnect.Net?label=AppStoreConnect%20NuGet\u0026color=blue)](https://www.nuget.org/packages/AppStoreConnect.Net)\n\n\n## Usage\n\n1. Generate an API Key ([Instructions from Apple](https://developer.apple.com/documentation/appstoreserverapi/creating_api_keys_to_use_with_the_app_store_server_api)\n2. Obtain your Key ID, Issuer ID, and Private Key file (.p8)\n3. You ***must*** use the `AppStoreConnectConfiguration` type when creating instances of the Api classes.\n\n```\n// Fill in our Key ID, Issuer ID, and Private Key file contents:\nvar keyId = \"XYZ123ABC\";\nvar issuerId = \"11111111-AABB-CCDD-EEFF-123456ABCDEF\";\nvar privateKey = @\"\n-----BEGIN PRIVATE KEY-----\nYOUR-P8-PRIVATE-KEY-FILE-CONTENTS-HERE\n-----END PRIVATE KEY-----\";\n\n// Must use AppStoreConnectConfiguration\nvar config = new AppStoreConnect.Client.AppStoreConnectConfiguration(keyId, issuerId, privateKey);\n\n// Create a new instance of the ProfilesApi\nvar api = new AppStoreConnect.Api.ProfilesApi(config);\n\n// Fetch all profiles for this account\nvar profiles = await api.ProfilesGetCollectionAsync().ConfigureAwait(false);\n\n// Display all the profiles' Name and Uuid\nforeach (var profile in profiles.Data)\n{\n    Console.WriteLine($\"{profile.Attributes.Name} ({profile.Attributes.Uuid})\");\n}\n```\n\n## Generating / Updating\n\n1. (Optional) Download a newer `openapi.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.\n\n2. Ensure the open api generator CLI tool is installed: `\u0026 npm install @openapitools/openapi-generator-cli -g` (requires NPM to be already installed).\n\n3. Generate the C# client `\u0026 npx @openapitools/openapi-generator-cli generate -i openapi.json -g csharp-netcore -o ./generated -c openapi-config.yaml --skip-validate-spec`\n\n4. Touch up any build errors (there's a number of duplicated methods/fields that need to be commented out in various files)\n\n## Additions\nThe Directory.Build.props file automatically includes .cs files from the additions folder which is where the `AppStoreConnectConfiguration` type is defined.\n\n## Links\n\n- [App Store Connect API Docs](https://developer.apple.com/documentation/appstoreconnectapi/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredth%2Fappstoreconnectnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredth%2Fappstoreconnectnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredth%2Fappstoreconnectnet/lists"}