File: AmazonAPI.src

package info (click to toggle)
pinot 1.23-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,608 kB
  • sloc: cpp: 41,870; makefile: 611; xml: 416; sh: 336
file content (35 lines) | stat: -rw-r--r-- 846 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Amazon REST API Search Plugin

<SEARCH
	version="1.0"
	name="Amazon API"
	description="Amazon.com REST API"
	method="GET"
	action="http://webservices.amazon.com/onca/xml"
	routeType="Shopping"
>

<INPUT NAME="Service" VALUE="AWSECommerceService">
# Edit this field's value to set to your subscription ID
<INPUT NAME="SubscriptionId" VALUE="EDIT:Amazon API ID">
<INPUT NAME="Operation" VALUE="ItemSearch">
<INPUT NAME="SearchIndex" VALUE="Blended">
<INPUT NAME="Keywords" USER>

<INTERPRET
resultListStart="<Items>"
resultListEnd="</Items>"
resultItemStart="<Item>"
resultItemEnd="</Item>"
# The following attributes are specific to Pinot
resultTitleStart="<Title>"
resultTitleEnd="</Title>"
resultLinkStart="<DetailPageURL>"
resultLinkEnd="</DetailPageURL>"
resultExtractStart="<ProductGroup>"
resultExtractEnd="</ProductGroup>"
>

</SEARCH>