{"id":40997535,"url":"https://github.com/xr1337/appstoreconnect-openapi-go","last_synced_at":"2026-01-22T08:15:07.790Z","repository":{"id":57537057,"uuid":"283677083","full_name":"xr1337/appstoreconnect-openapi-go","owner":"xr1337","description":"Contains generated Golang client code ( based on OpenAPI 3 specifications ) for Apple AppStore Connect API","archived":false,"fork":false,"pushed_at":"2020-07-30T08:29:24.000Z","size":335,"stargazers_count":16,"open_issues_count":2,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T01:50:34.220Z","etag":null,"topics":["apple","appstoreconnect","appstoreconnectapi","golang","openapi"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xr1337.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-30T05:22:08.000Z","updated_at":"2024-06-18T02:11:36.000Z","dependencies_parsed_at":"2022-08-29T00:31:17.227Z","dependency_job_id":null,"html_url":"https://github.com/xr1337/appstoreconnect-openapi-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xr1337/appstoreconnect-openapi-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xr1337%2Fappstoreconnect-openapi-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xr1337%2Fappstoreconnect-openapi-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xr1337%2Fappstoreconnect-openapi-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xr1337%2Fappstoreconnect-openapi-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xr1337","download_url":"https://codeload.github.com/xr1337/appstoreconnect-openapi-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xr1337%2Fappstoreconnect-openapi-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28659512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["apple","appstoreconnect","appstoreconnectapi","golang","openapi"],"created_at":"2026-01-22T08:15:07.109Z","updated_at":"2026-01-22T08:15:07.785Z","avatar_url":"https://github.com/xr1337.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AppStoreConnect-OpenApi-Go\n\nThis is a generated Go project for Apple's [App Store Connect API](https://developer.apple.com/documentation/appstoreconnectapi).\n\nApple provided an OpenAPI\n[downloable specification](https://developer.apple.com/sample-code/app-store-connect/app-store-connect-openapi-specification.zip) which allows use to generate client api codes.\n\nClient code generation was done with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator)\n\n## Motivation\n\nWhen I was generating the code for my own use, I experienced some difficulties with OpenAPI Generator.\nAfter fixing all the bugs, I thought it would be helpful to share this generated code with others.\n\nThus I would appreciate a star if this project is useful to you.\n\n## Installation\n\nAdd the generated code to your project\n\n```bash\ngo get github.com/xr1337/appstoreconnect-openapi-go/generated\n```\n\n## Usage\n\nHeres a non-production recommended code to test the API out\n```golang\nimport \tapi \"github.com/xr1337/appstoreconnect-openapi-go/generated\"\n\nfunc main() {\n\tcfg := api.NewConfiguration()\n\tauth := context.WithValue(context.Background(), api.ContextAccessToken, signedToken)\n\tclient := api.NewAPIClient(cfg)\n\tresponse, _, _ := client.UsersApi.UsersGetCollection(auth, nil)\n\tfor _, user := range response.Data {\n\t\tfmt.Println(user.Attributes.Username)\n\t}\n}\n```\n\nCheckout out the [example folder](https://github.com/xr1337/appstoreconnect-openapi-go/tree/master/example) for more examples ( includes reading Apples .p8 file )\n\nAlternatively, OpenAPI generates a README.md file ([View here](https://github.com/xr1337/appstoreconnect-openapi-go/blob/master/generated/README.md)) to see what APIs that you can use\n\n## Regenerate\n\nThe Makefile comes with a example docker command to regenerate the project.\nRequirements: [docker](https://www.docker.com/get-started)\n\n```bash\nmake generate\n```\n\nThe output will generate a new folder called `out`.\nYou may want to remove the generated go.mod and go.sum files.\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxr1337%2Fappstoreconnect-openapi-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxr1337%2Fappstoreconnect-openapi-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxr1337%2Fappstoreconnect-openapi-go/lists"}