{"id":13678385,"url":"https://github.com/egodigital/node-appstore-connect","last_synced_at":"2025-04-29T13:30:41.150Z","repository":{"id":55440433,"uuid":"224244015","full_name":"egodigital/node-appstore-connect","owner":"egodigital","description":"API client for Apple App Store Connect API.","archived":true,"fork":false,"pushed_at":"2021-01-15T01:59:19.000Z","size":118,"stargazers_count":30,"open_issues_count":3,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-04T23:49:48.671Z","etag":null,"topics":["api","apple","appstore","downloads","library","module","npm","reporting","rest-api","sales"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@egodigital/appstore-connect","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/egodigital.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-26T17:02:25.000Z","updated_at":"2024-05-02T15:24:57.000Z","dependencies_parsed_at":"2022-08-15T00:20:37.542Z","dependency_job_id":null,"html_url":"https://github.com/egodigital/node-appstore-connect","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egodigital%2Fnode-appstore-connect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egodigital%2Fnode-appstore-connect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egodigital%2Fnode-appstore-connect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egodigital%2Fnode-appstore-connect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/egodigital","download_url":"https://codeload.github.com/egodigital/node-appstore-connect/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224173826,"owners_count":17268182,"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","apple","appstore","downloads","library","module","npm","reporting","rest-api","sales"],"created_at":"2024-08-02T13:00:53.015Z","updated_at":"2024-11-11T20:31:31.058Z","avatar_url":"https://github.com/egodigital.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/@egodigital/appstore-connect.svg)](https://www.npmjs.com/package/@egodigital/appstore-connect)\n\n# @egodigital/appstore-connect\n\nA simplfied library for [Node.js 10+](https://nodejs.org/docs/latest-v10.x/api/) for accessing [Apple's App Store Connect API](https://developer.apple.com/documentation/appstoreconnectapi), written in [TypeScript](https://www.typescriptlang.org/).\n\nThe module is quite new, so [issues](https://github.com/egodigital/node-appstore-connect/issues) and [pull requests](https://github.com/egodigital/node-appstore-connect/pulls) are very welcome :-)\n\n## Install\n\nExecute the following command from your project folder, where your `package.json` file is stored:\n\n```bash\nnpm install --save @egodigital/appstore-connect\n```\n\n## Usage\n\n```typescript\nimport * as fs from 'fs';\nimport { Client as AppStoreConnectClient, DownloadSalesReportFrequency } from '@egodigital/appstore-connect';\n\nconst PRIVATE_KEY = fs.readFileSync(\n    '/path/to/your/p8/file'  // downloaded from https://appstoreconnect.apple.com/access/api\n);\n\nconst CLIENT = new AppStoreConnectClient({\n    apiKey: '\u003cYOUR-API-KEY\u003e',  // s. https://appstoreconnect.apple.com/access/api\n    issuerId: '\u003cYOUR-ISSUER-ID\u003e',  // s. https://appstoreconnect.apple.com/access/api\n    privateKey: PRIVATE_KEY,\n});\n\nconst SUMMARY = await CLIENT.getAppDownloads({\n    frequency: DownloadSalesReportFrequency.Weekly,\n    vendorId: '\u003cYOUR-VENDOR-ID\u003e',  // s. https://appstoreconnect.apple.com/itc/payments_and_financial_reports\n});\n\nconsole.log(\n    SUMMARY\n);\n```\n\n## Documentation\n\nThe API documentation can be found [here](https://egodigital.github.io/appstore-connect/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegodigital%2Fnode-appstore-connect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fegodigital%2Fnode-appstore-connect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegodigital%2Fnode-appstore-connect/lists"}