{"id":17350301,"url":"https://github.com/rageagainstthepixel/app-store-connect-api","last_synced_at":"2025-04-14T21:13:49.756Z","repository":{"id":257824151,"uuid":"871441409","full_name":"RageAgainstThePixel/app-store-connect-api","owner":"RageAgainstThePixel","description":"A TypeScript package for communicating with Apple App Store Connect API","archived":false,"fork":false,"pushed_at":"2025-02-16T02:01:50.000Z","size":711,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T21:13:42.724Z","etag":null,"topics":["api","app","app-store-connect-api","apple","connect","node","npm","store"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@rage-against-the-pixel/app-store-connect-api","language":"TypeScript","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/RageAgainstThePixel.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"StephenHodgson","patreon":"RageAgainstThePixel"}},"created_at":"2024-10-12T01:37:57.000Z","updated_at":"2025-02-20T08:28:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"b873068b-6156-4b4f-bce5-0af0ac6298cb","html_url":"https://github.com/RageAgainstThePixel/app-store-connect-api","commit_stats":null,"previous_names":["rageagainstthepixel/app-store-connect-api"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RageAgainstThePixel%2Fapp-store-connect-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RageAgainstThePixel%2Fapp-store-connect-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RageAgainstThePixel%2Fapp-store-connect-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RageAgainstThePixel%2Fapp-store-connect-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RageAgainstThePixel","download_url":"https://codeload.github.com/RageAgainstThePixel/app-store-connect-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248961237,"owners_count":21189993,"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":["api","app","app-store-connect-api","apple","connect","node","npm","store"],"created_at":"2024-10-15T17:06:25.022Z","updated_at":"2025-04-14T21:13:49.739Z","avatar_url":"https://github.com/RageAgainstThePixel.png","language":"TypeScript","funding_links":["https://github.com/sponsors/StephenHodgson","https://patreon.com/RageAgainstThePixel"],"categories":[],"sub_categories":[],"readme":"# app-store-connect-api\n\n[![Discord](https://img.shields.io/discord/855294214065487932.svg?label=\u0026logo=discord\u0026logoColor=ffffff\u0026color=7389D8\u0026labelColor=6A7EC2)](https://discord.gg/xQgMW9ufN4) [![NPM Version](https://img.shields.io/npm/v/%40rage-against-the-pixel%2Fapp-store-connect-api)](https://www.npmjs.com/package/@rage-against-the-pixel/app-store-connect-api) [![NPM Downloads](https://img.shields.io/npm/dw/%40rage-against-the-pixel%2Fapp-store-connect-api)](https://www.npmjs.com/package/@rage-against-the-pixel/app-store-connect-api)\n\nA TypeScript package for communicating with Apple [App Store Connect API](https://developer.apple.com/documentation/appstoreconnectapi)\n\n- Automatically generated API client using the latest [OpenAPI specification](https://developer.apple.com/sample-code/app-store-connect/app-store-connect-openapi-specification.zip) from Apple.\n- Fully typed models and methods for every endpoint.\n- Designed for use in a Node.js server environment.\n\n## Installation\n\n```sh\nnpm install @rage-against-the-pixel/app-store-connect-api\n```\n\n## Authentication\n\nTo authenticate with the API you will need to [create a API keys for App Store Connect API](https://appstoreconnect.apple.com/access/api).\n\nDownload and save the private key `.p8` file to a save, secure location.\nThe contents of this file is your `privateKey`.\nThe `privateKeyId` and `issuerId` are both listed on the same page where you create your private key.\n\n\u003e [!NOTE]\n\u003e Individual keys do not require `issuerId`.\n\n## Example\n\n```ts\nimport { AppStoreConnectClient, AppStoreConnectOptions } from '@rage-against-the-pixel/app-store-connect-api';\n\nasync function main() {\n    const options: AppStoreConnectOptions = {\n        issuerId: '\u003cISSUER_ID\u003e',\n        privateKeyId: '\u003cPRIVATE_KEY_ID\u003e',\n        privateKey: '\u003cPRIVATE_KEY\u003e',\n    };\n    const client = new AppStoreConnectClient(options);\n    const { data: response, error } = await client.api.AppService.appsGetCollection({\n        query: {\n            limit: 10\n        }\n    });\n    if (error) {\n        console.error('Error fetching apps:', error);\n    } else {\n        const apps = response.data.map(app =\u003e ({\n            id: app.id,\n            name: app.attributes.name,\n            bundleId: app.attributes.bundleId\n        }));\n        console.log('Apps:', apps);\n    }\n}\n\nmain();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frageagainstthepixel%2Fapp-store-connect-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frageagainstthepixel%2Fapp-store-connect-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frageagainstthepixel%2Fapp-store-connect-api/lists"}