mdinacci / goamzpa Goto Github PK
View Code? Open in Web Editor NEWA Go library to use the Amazon Product API.
License: BSD 3-Clause "New" or "Revised" License
A Go library to use the Amazon Product API.
License: BSD 3-Clause "New" or "Revised" License
When you run sample code from readme and handle err you get:
expected element type <ItemLookupResponse> but have <ItemLookupErrorResponse>
Here's an example response Item struct that I receive from the API.
amzpa.Item{
XMLName:xml.Name{
Space:"http://webservices.amazon.com/AWSECommerceService/2011-08-01",
Local:"Item"
},
ASIN:"B01GEHPI0E",
URL:"",
DetailPageURL:"http://www.amazon.com/Raspberry-Pi-Zero-Camera-Version/dp/B01GEHPI0E%3FSubscriptionId%3DAKIAIMJLWSH5RWGHFTMQ%26tag%3Dxxxxxx%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB01GEHPI0E",
Author:"",
Price:"",
PriceRaw:"",
Title:"Raspberry Pi Zero 1.3 Camera Version",
MediumImage:amzpa.Image{
XMLName:xml.Name{
Space:"",
Local:""
},
URL:"",
Height:0x0,
Width:0x0
}
}
Example code from Readme.md does not compile
item.DetailPageURL undefined (type amzpa.Item has no field or method DetailPageURL)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.