{"id":17091419,"url":"https://github.com/jhurliman/apple-sales-bot","last_synced_at":"2025-07-23T19:03:53.757Z","repository":{"id":66019673,"uuid":"98677765","full_name":"jhurliman/apple-sales-bot","owner":"jhurliman","description":"Post daily Apple sales report summaries to Slack","archived":false,"fork":false,"pushed_at":"2017-07-29T20:46:49.000Z","size":72,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T22:36:49.182Z","etag":null,"topics":["analytics","apple","itunesconnect","sales","slack-bot"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/jhurliman.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-07-28T18:44:04.000Z","updated_at":"2024-08-16T07:28:43.000Z","dependencies_parsed_at":"2023-03-10T23:29:19.438Z","dependency_job_id":null,"html_url":"https://github.com/jhurliman/apple-sales-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jhurliman/apple-sales-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhurliman%2Fapple-sales-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhurliman%2Fapple-sales-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhurliman%2Fapple-sales-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhurliman%2Fapple-sales-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhurliman","download_url":"https://codeload.github.com/jhurliman/apple-sales-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhurliman%2Fapple-sales-bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266737568,"owners_count":23976389,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["analytics","apple","itunesconnect","sales","slack-bot"],"created_at":"2024-10-14T13:58:35.254Z","updated_at":"2025-07-23T19:03:53.748Z","avatar_url":"https://github.com/jhurliman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Apple Sales Bot\n\nPost daily Apple sales report summaries to Slack\n\n![Apple Sales Bot Screenshot](https://raw.githubusercontent.com/jhurliman/apple-sales-bot/master/docs/apple-sales-bot-screenshot01.png)\n\n## Instructions\n\n1. `npm install`\n2. `npm run package`\n3. Create an AWS Lambda script from `apple-sales-bot.zip`\n4. Set the following environment variables for the Lambda script:\n   - **APPLE_USER_ID** - Your iTunes Connect email address\n   - **APPLE_ACCESS_TOKEN** - Your iTunes Connect Access Token ([instructions](https://www.google.com/search?q=Generate+access+token+in+iTunes+Connect))\n   - **APPLE_VENDOR_NUMBER** - Your [Apple Vendor ID](https://apple.stackexchange.com/questions/65267/how-do-i-find-out-what-my-apple-vendor-id-is)\n   - **OPEN_EXCHANGE_RATES_APP_ID** - An access token for [Open Exchange Rates](https://openexchangerates.org/)\n   - **S3_PERSIST_URL** - An S3 URL for a file that will be created by the Lambda script, ex: s3://my-salesbot/lastrun.txt. Make sure your Lambda script has permission to read and write the given S3 bucket\n   - **SLACK_WEBHOOK** - An incoming Slack webhook the script will post to\n5. Setup a Scheduled Event trigger for the Lambda script to run at a regular interval such as hourly ([instructions](http://docs.aws.amazon.com/lambda/latest/dg/with-scheduled-events.html))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhurliman%2Fapple-sales-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhurliman%2Fapple-sales-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhurliman%2Fapple-sales-bot/lists"}