{"id":19809526,"url":"https://github.com/space-code/iap","last_synced_at":"2025-02-28T12:45:17.657Z","repository":{"id":79213217,"uuid":"583313034","full_name":"space-code/iap","owner":"space-code","description":"Verifies a purchase receipt via AppStore","archived":false,"fork":false,"pushed_at":"2023-01-17T13:31:10.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-01-11T06:45:31.366Z","etag":null,"topics":["iap","iap-verification","in-app-purchase"],"latest_commit_sha":null,"homepage":"","language":"Go","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/space-code.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}},"created_at":"2022-12-29T12:02:09.000Z","updated_at":"2023-10-11T14:45:18.000Z","dependencies_parsed_at":"2023-02-24T14:45:22.351Z","dependency_job_id":null,"html_url":"https://github.com/space-code/iap","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-code%2Fiap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-code%2Fiap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-code%2Fiap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-code%2Fiap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/space-code","download_url":"https://codeload.github.com/space-code/iap/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241152768,"owners_count":19918679,"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":["iap","iap-verification","in-app-purchase"],"created_at":"2024-11-12T09:17:16.278Z","updated_at":"2025-02-28T12:45:17.585Z","avatar_url":"https://github.com/space-code.png","language":"Go","readme":"\u003ch1 align=\"center\" style=\"margin-top: 0px;\"\u003eiap\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/space-code/iap/blob/main/LICENSE\"\u003e\u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/space-code/iap?style=flat\"\u003e\u003c/a\u003e \n\u003ca href=\"https://github.com/space-code/iap\"\u003e\u003cimg alt=\"CI\" src=\"https://github.com/space-code/iap/actions/workflows/ci.yml/badge.svg?branch=main\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Description\n`iap` verifies a purchase receipt via AppStore\n\n- [Usage](#usage)\n- [Communication](#communication)\n- [Contributing](#contributing)\n- [Author](#author)\n- [License](#license)\n\n## Usage\n\n```go\npackage appstore\n\n// create an IAP client\nclient := appstore.New()\n// create an validation request\nr := appstore.IAPValidationRequest{\n  ReceiptData:            \"enter your receipt here\",\n  ExcludeOldTransactions: true,\n}\nctx := context.Background()\nvar response appstore.IAPValidationResponse\n// receipt validation\nerr := v.VerifyReceipt(ctx, req, \u0026response)\n```\n\n## Communication\n- If you **found a bug**, open an issue.\n- If you **have a feature request**, open an issue.\n- If you **want to contribute**, submit a pull request.\n\n## Contributing\nPlease feel free to help out with this project! If you see something that could be made better or want a new feature, open up an issue or send a Pull Request!\n\n## Author\nNikita Vasilev, nv3212@gmail.com\n\n## License\niap is available under the MIT license. See the LICENSE file for more info.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspace-code%2Fiap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspace-code%2Fiap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspace-code%2Fiap/lists"}