ItemAttributesについて
ItemAttributes レスポンスグループを使用すると、商品を説明する多数の属性を返すことができます。
例えば、Camera and Photo サーチインデックスの商品は、属性として、高さ、幅、重量、タイトル、UPC、価格、メーカー、ズーム倍率、メガピクセル数、キャリーケースを返します。
全てのサーチインデックスで全ての商品属性を返すことができます。ただし、返される商品属性の数は、ASIN によって異なります。
通常、同じサーチインデックス内の ASIN は同じ商品属性を返します。例えば、”Books” サーチインデックス内の商品に対して返される商品属性は、”Camera and Photo” サーチインデックス内の商品に対して返されるものとは異なります。ただし、1つのサーチインデックス内の全商品が必ずしも同じ属性を返すとは限りません。そのため、レスポンスで返される商品属性を正確に予測することはできません。
[Amazon Product Advertising API 開発者ガイドより引用]
レスポンス要素
グループに含まれるレスポンス要素は以下の通りです。
それぞれの解説はこちらからどうぞ。(手抜き)
■Actor
■Address1
■Address2
■Address3
■AmazonMaximumAge
■AmazonMinimumAge
■Amount
■ApertureModes
■Artist
■ASIN
■AspectRatio
■AudienceRating
■AudioFormat
■Author
■BackFinding
■BandMaterialType
■Batteries
■BatteriesIncluded
■BatteryDescription
■BatteryType
■BezelMaterialType
■Binding
■Brand
■CalendarType
■CameraManualFeatures
■CaseDiameter
■CaseMaterialType
■CaseThickness
■CaseType
■CDRWDescription
■ChainType
■City
■ClaspType
■ClothingSize
■Color
■Compatibility
■CPUManufacturer
■CPUSpeed
■CPUType
■Creator
■CurrencyCode
■Day
■DelayBetweenShots
■Department
■DetailPageURL
■DeweyDecimalNumber
■DialColor
■DialWindowMaterialType
■DigitalZoom
■Director
■DisplaySize
■DVDLayers
■DVDRWDescription
■DVDSides
■EAN
■Edition
■EpisodeSequence
■ESRBAgeRating
■ExternalDisplaySupportDescription
■FabricType
■FaxNumber
■Feature
■FirstIssueLeadTime
■FlavorName
■FloppyDiskDriveDescription
■Format
■FormattedPrice
■GemType
■GemTypeSetElement
■Genre
■GolfClubFlex
■GolfClubLoft
■GraphicsCardInterface
■GraphicsDescription
■GraphicsMemorySize
■HardDiskCount
■HardDiskSize
■HasAutoFocus
■HasBurstMode
■HasInCameraEditing
■HasRedEyeReduction
■HasSelfTimer
■HasTripodMount
■HasVideoOut
■HasViewfinder
■Height
■Hours
■HoursOfOperation
■IncludedSoftware
■IncludesMp3Player
■Ingredients
■IngredientsSetElement
■IsAutographed
■IsEligibleForTradeIn
■ISBN
■IngredientsSetElement
■IsEmailNotifyAvailable
■IsFragile
■IsLabCreated
■IsMemorabilia
■ISOEquivalent
■IssuesPerYear
■KeyboardDescription
■Keywords
■Label
■LegalDisclaimer
■Length
■LongSynopsis
■LineVoltage
■MacroFocusRange
■MagazineType
■Manufacturer
■ManufacturerLaborWarrantyDescription
■ManufacturerMaximumAge
■MaterialTypeSetElement
■ManufacturerMinimumAge
■ManufacturerPartsWarrantyDescription
■MaterialType
■MaximumAperture
■MaximumColorDepth
■MaximumFocalLength
■MaximumHighResolutionImages
■MaximumHorizontalResolution
■MaximumLowResolutionImages
■MaximumResolution
■MaximumShutterSpeed
■MaximumVerticalResolution
■MaximumWeightRecommendation
■MemorySlotsAvailable
■Message
■MetalStamp
■MetalType
■MiniMovieDescription
■MinimumFocalLength
■MinimumShutterSpeed
■Model
■ModemDescription
■MonitorSize
■MonitorViewableDiagonalSize
■MouseDescription
■MPN
■Name
■NativeResolution
■Neighborhood
■NetworkInterfaceDescription
■NotebookDisplayTechnology
■NotebookPointingDeviceDescription
■NumberOfDiscs
■NumberOfIssues
■NumberOfItems
■NumberOfPages
■NumberOfPearls
■NumberOfRapidFireShots
■NumberOfStones
■NumberOfTracks
■OpticalZoom
■OriginalAirDate
■OriginalReleaseDate
■PearlLustre
■PearlMinimumColor
■PearlShape
■PearlStringingMethod
■PearlSurfaceBlemishes
■PearlType
■PearlUniformity
■PhoneNumber
■PhotoFlashType
■PictureFormat
■Platform
■PostalCode
■PriceRating
■ProcessorCount
■ProductGroup
■PublicationDate
■Publisher
■ReadingLevel
■RegionCode
■ReleaseDate
■RemovableMemory
■ResolutionModes
■RingSize
■Role
■RunningTime
■SeasonSequence
■SecondaryCacheSize
■SettingType
■ShortSynopsis
■Size
■SizePerPearl
■SKU
■SoundCardDescription
■SpeakerDescription
■SpecialFeatures
■StartYear
■State
■StoneClarity
■StoneColor
■StoneCut
■StoneShape
■StoneWeight
■Studio
■SubscriptionLength
■SupportedImageType
■SystemBusSpeed
■SystemMemorySize
■SystemMemorySizeMax
■SystemMemoryType
■TheatricalReleaseDate
■Title
■TotalDiamondWeight
■TotalExternalBaysFree
■TotalFirewirePorts
■TotalGemWeight
■TotalInternalBaysFree
■TotalMetalWeight
■TotalNTSCPALPorts
■TotalPages
■TotalParallelPorts
■TotalPCCardSlots
■TotalPCISlotsFree
■TotalResults
■TotalSerialPorts
■TotalSVideoOutPorts
■TotalUSBPorts
■TotalUSB2Ports
■TotalVGAOutPorts
■TradeInValue
■Type
■Unit
■UPC
■VariationDenomination
■VariationDescription
■Warranty
■WatchMovementType
■WaterResistanceDepth
■Weight
■Width
数にして237個程ありますが、もちろんこの要素全てが一度に返って来る訳ではありません。
「CPUの速度(PCパーツ)」であったり「宝石のカラット数」などなど・・・色々な種類の商品に存在するパラメータ値を載せているだけなので、実際に返って来るパラメータは数個~数十個程度です。
レスポンスXMLのサンプル
●書籍を対象にした場合のレスポンス例。
<Item> <ASIN>4151200037</ASIN> <DetailPageURL>https://www.amazon.co.jp/(省略)</DetailPageURL> <ItemLinks> <ItemLink> <Description>Add To Wishlist</Description> <URL>https://www.amazon.co.jp/gp/registry/wishlist/(省略) </URL> </ItemLink> <ItemLink> <Description>Tell A Friend</Description> <URL>https://www.amazon.co.jp/gp/pdp/taf/(省略) </URL> </ItemLink> <ItemLink> <Description>All Customer Reviews</Description> <URL>https://www.amazon.co.jp/review/product/(省略) </URL> </ItemLink> <ItemLink> <Description>All Offers</Description> <URL>https://www.amazon.co.jp/gp/offer-listing/(省略) </URL> </ItemLink> </ItemLinks> <ItemAttributes> <Author>カズオ イシグロ</Author> <Binding>文庫</Binding> <Creator Role="原著">Kazuo Ishiguro</Creator> <Creator Role="翻訳">土屋 政雄</Creator> <EAN>9784151200038</EAN> <EANList> <EANListElement>9784151200038</EANListElement> </EANList> <Edition>第二十九</Edition> <IsAdultProduct>0</IsAdultProduct> <ISBN>4151200037</ISBN> <Label>早川書房</Label> <Languages> <Language> <Name>日本語</Name> <Type>Published</Type> </Language> </Languages> <Manufacturer>早川書房</Manufacturer> <NumberOfPages>365</NumberOfPages> <PackageDimensions> <Height Units="100分の1インチ">55</Height> <Length Units="100分の1インチ">614</Length> <Weight Units="100分の1ポンド">44</Weight> <Width Units="100分の1インチ">425</Width> </PackageDimensions> <PackageQuantity>1</PackageQuantity> <ProductGroup>Book</ProductGroup> <ProductTypeName>ABIS_BOOK</ProductTypeName> <PublicationDate>2001-05-01</PublicationDate> <Publisher>早川書房</Publisher> <Studio>早川書房</Studio> <Title>日の名残り (ハヤカワepi文庫)</Title> </ItemAttributes> </Item>
●ゲームソフトの場合のレスポンス例
<Item> <ASIN>B01N6SYWI6</ASIN> <ParentASIN>B01IQYGQP4</ParentASIN> <DetailPageURL>https://www.amazon.co.jp/(省略) </DetailPageURL> <ItemLinks> <ItemLink> <Description>Add To Wishlist</Description> <URL>https://www.amazon.co.jp/gp/registry/wishlist/add-item.html(省略)</URL> </ItemLink> <ItemLink> <Description>Tell A Friend</Description> <URL>https://www.amazon.co.jp/gp/pdp/taf/(省略)</URL> </ItemLink> <ItemLink> <Description>All Customer Reviews</Description> <URL>https://www.amazon.co.jp/review/product/(省略)</URL> </ItemLink> <ItemLink> <Description>All Offers</Description> <URL>https://www.amazon.co.jp/gp/offer-listing/(省略)</URL> </ItemLink> </ItemLinks> <ItemAttributes> <Binding>DVD-ROM</Binding> <Brand>スクウェア・エニックス</Brand> <CEROAgeRating>15才以上対象</CEROAgeRating> <EAN>4988601009720</EAN> <EANList> <EANListElement>4988601009720</EANListElement> </EANList> <Edition>拡張パック: 紅蓮のリベレーター</Edition> <Feature>光の戦士たちよ。紅蓮の解放者となれ!</Feature> <Format>DVD-ROM</Format> <IsAdultProduct>0</IsAdultProduct> <Label>スクウェア・エニックス</Label> <ListPrice> <Amount>4104</Amount> <CurrencyCode>JPY</CurrencyCode> <FormattedPrice>¥ 4,104</FormattedPrice> </ListPrice> <Manufacturer>スクウェア・エニックス</Manufacturer> <OperatingSystem>windows</OperatingSystem> <PackageDimensions> <Height Units="100分の1インチ">142</Height> <Length Units="100分の1インチ">756</Length> <Weight Units="100分の1ポンド">31</Weight> <Width Units="100分の1インチ">528</Width> </PackageDimensions> <PackageQuantity>1</PackageQuantity> <Platform>Windows</Platform> <Platform>Windows 7</Platform> <Platform>Windows 8</Platform> <Platform>Windows 8.1</Platform> <Platform>Windows 10</Platform> <ProductGroup>Software</ProductGroup> <ProductTypeName>SOFTWARE</ProductTypeName> <Publisher>スクウェア・エニックス</Publisher> <ReleaseDate>2017-06-20</ReleaseDate> <Studio>スクウェア・エニックス</Studio> <Title>ファイナルファンタジーXIV: 紅蓮のリベレーター</Title> </ItemAttributes> </Item>