{"id":25302147,"url":"https://github.com/mdinacci/goamzpa","last_synced_at":"2025-10-28T07:30:53.355Z","repository":{"id":5312054,"uuid":"6494023","full_name":"mdinacci/goamzpa","owner":"mdinacci","description":"A Go library to use the Amazon Product API.","archived":false,"fork":false,"pushed_at":"2015-06-03T05:38:54.000Z","size":131,"stargazers_count":9,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-12T01:31:59.526Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"segmentio/analytics-ios","license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdinacci.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}},"created_at":"2012-11-01T17:47:50.000Z","updated_at":"2016-11-15T14:04:36.000Z","dependencies_parsed_at":"2022-09-01T17:53:09.248Z","dependency_job_id":null,"html_url":"https://github.com/mdinacci/goamzpa","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdinacci%2Fgoamzpa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdinacci%2Fgoamzpa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdinacci%2Fgoamzpa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdinacci%2Fgoamzpa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdinacci","download_url":"https://codeload.github.com/mdinacci/goamzpa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238610537,"owners_count":19500674,"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":[],"created_at":"2025-02-13T06:53:08.809Z","updated_at":"2025-10-28T07:30:53.039Z","avatar_url":"https://github.com/mdinacci.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# goamzpa\n\nA BSD licensed [Go lang](http://golang.org) library to use the _Amazon Product API_. \nAlso my first `Go` project.\n\nAt the moment it supports only `ItemLookup`. Everything can change, and\nprobably will, use at your own peril.\n\n## Usage\n    package main \n\timport (\n\t    \"fmt\"\n\t    \"github.com/mdinacci/goamzpa/amzpa\"\n\t)\n\n\tfunc main() {\n\t    // Complete these variables with your credentials\n\t    accessKey := \"ACCESS_KEY\"\n\t    accessSecret := \"ACCESS_SECRET\"\n\t    associateTag := \"ASSOCIATE_TAG\"\n\t    region := \"UK\"\n\n\t    request := amzpa.NewRequest(accessKey, accessSecret , associateTag, region)\n\t    asins:= []string{\"0141033576,0615314465,1470057719\"}\n\t    \n\t    responseGroups := \"Medium,Accessories\"\n\t    itemsType := \"ASIN\"\n\t    response,err := request.ItemLookup(asins, responseGroups, itemsType)\n\t    \n\t    if err == nil \u0026\u0026 response.Request.IsValid {\n\t        for _, item := range response.Items {\n\t            fmt.Printf(\"ASIN: %s\\n\", item.ASIN)\n\t            fmt.Printf(\"DetailPageURL: %s\\n\", item.DetailPageURL)\n\t            fmt.Printf(\"Author: %s\\n\", item.Author)\n\t            fmt.Printf(\"Price: %s\\n\", item.Price)\n\t            fmt.Printf(\"Medium Image URL: %s\\n\", item.MediumImage.URL)\n\t        }\n\t    } else {\n\t        fmt.Println(err)\n\t    }\n\t}\n\n \n\n## TODO\n* [IN PROGRESS] Map the XML to a struct, so that the response is not just a big string\n* Support more than one ResponseGroup\n* ItemSearch\n* Gzip compression\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdinacci%2Fgoamzpa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdinacci%2Fgoamzpa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdinacci%2Fgoamzpa/lists"}