Download presentation
Presentation is loading. Please wait.
Published byEdward Barton Modified over 9 years ago
1
Amazon E-Commerce Services Part 1 Build your own Amazon.com By David Silverlight HeadGeek@XLMPitstop.com
2
About Me.NET Consultant Head Geek of XMLPitstop.com Recently started DotNetPitstop.com One of the founders of NonProfitWays.com (more to come…..)
3
What will be covered What Amazon E-Commerce services offer us. Getting started Operation Types Response Groups Single and Multiple search criteria. Integrating Amazon ECS into our own.NET applications.
4
What Amazon Web Services offers Full access to Amazon data You can add content to your website You can hear that ch-ching sound. Confirmation of the benefits of web services.
5
Getting Started – 6 Easy Steps Step 1 – Join Amazon Web Services Program Navigate to the Web Service are of the “Make Money” section Navigate to the Web Service are of the “Make Money” section (approx time 10 minutes) (approx time 10 minutes)
8
Getting Started Step 2 – Download their demo apps and API API Approx Time (5 minutes) Approx Time (5 minutes) Step 3 – Create your own.NET apps from their demos and API. Approx Time (2 hours) Approx Time (2 hours) Step 4 – Drink Pint of whiskey to recover from frustration of having no good starting materials for your.NET applications. Approx Time (varies between 1 hour and 2 days) Approx Time (varies between 1 hour and 2 days) Step 5 – Google some of the following terms “Building Amazon Web Services” “Building Amazon Web Services” “ECS and Amazon” “ECS and Amazon” “ECS and ASP.NET” “ECS and ASP.NET” “Alchoholics Anonymous” (see step 4) “Alchoholics Anonymous” (see step 4) Approx Time (3 hours) Approx Time (3 hours) Step 6 – Build your app from asp.net samples finally located Approx Time 1 hour Approx Time 1 hour
9
Adding a Web Reference
10
Proxy Headaches
11
Types of Operations Product Searches - Allow you to look up Amazon products Customers - Look up publicly available customer content. Shopping Cart – Create a shopping cart of amazon products and hand it off to amazon.
12
Product Data Operations Allow you to look up Amazon products, either by searching for groups of products or by looking up specific items. ItemSearchItemSearch Search the product database using a one of a variety of possible criteria. ItemSearch ItemLookupItemLookup Look up specific product(s) in the Amazon database. ItemLookup SimilarityLookupSimilarityLookup Look up products that are similar to specific other products. SimilarityLookup SellerListingSearchSellerListingSearch Search for seller product listings (zShops and Marketplace). SellerListingSearch SellerListingLookupSellerListingLookup Look up a specific zShops or Marketplace product listing from a particular seller. SellerListingLookup
13
Customer Content Operations Allow you to look up publicly available customer content, such as reviews, wish lists and Listmania lists CustomerContentSearchCustomerContentSearch Search for customers. CustomerContentSearch CustomerContentLookupCustomerContentLookup Look up specific customer(s) information (location/name/reviews). CustomerContentLookup ListLookupListLookup Look up specific list(s) created by customers. ListLookup ListSearchListSearch Search for customer-created lists. ListSearch
14
Seller Information Look up feedback on specific sellers and get seller product listings SellerLookupSellerLookup Look up information about a specific seller. SellerLookup
15
Shopping Cart Operations Create a shopping cart of items and hand it off to Amazon so the customer can purchase the selected items. CartCreateCartCreate Create a shopping cart and add an item(s). CartCreate CartAddCartAdd Add products to the shopping cart CartAdd CartModifyCartModify Change quantities or status of entries in the shopping cart. CartModify CartClearCartClear Clear all entries in a shopping cart CartClear CartGetCartGet Get the contents of a shopping cart with updated price and availability information. CartGet
16
Miscellaneous BrowseNodeLookupBrowseNodeLookup Returns information about a browse node, including child nodes. BrowseNodeLookup HelpHelp Returns information about how to use an ECS operation or about what to expect from ECS response groups. Help TransactionLookupTransactionLookup Look up the amount of a specific transaction. TransactionLookup
17
Response Groups Standard response groups: Request - Echoes the operation parameters. ItemIds - Returns only ASINs. Amalgamated response groups: Small - Global, item-level data (no pricing or availability), including the ASIN, product title, creator (author, artist, composer, directory, manufacturer, etc.), product group, URL, and manufacturer. Medium - Includes Small, Request, ItemAttributes, OfferSummary, SalesRank, EditorialReview, and Images response groups. Large - Includes Medium, Tracks, BrowseNodes, Reviews, ListmaniaLists, Similarities, Offers, and Accessories response groups. Offer information (actual prices/availability): OfferSummary Offers - Includes OfferSummary plus all offer listings specified by the Condition parameter OfferFull - Includes Offers plus merchant name or seller nickname. Plus various product attributes: ItemAttributesTracksAccessoriesEditorialReviewSalesRankBrowseNodesImagesSimilaritiesReviewsListmaniaLists
18
Single Criteria Searches Search By Publisher Search By ISBN
19
Publisher Search Function SearchByPublisher(ByVal Publisher As String, ByVal KeyWord As String, ByVal SortOrder As String, ByVal CurrPage As String) As wsAmazonECS.Items Function SearchByPublisher(ByVal Publisher As String, ByVal KeyWord As String, ByVal SortOrder As String, ByVal CurrPage As String) As wsAmazonECS.Items Dim SearchRequest As New wsAmazonECS.ItemSearchRequest Dim SearchRequest As New wsAmazonECS.ItemSearchRequest Dim itemSearch As New wsAmazonECS.ItemSearch Dim itemSearch As New wsAmazonECS.ItemSearch SearchRequest.SearchIndex = "Books" SearchRequest.SearchIndex = "Books" SearchRequest.Publisher = Publisher SearchRequest.Publisher = Publisher SearchRequest.Keywords = KeyWord SearchRequest.Keywords = KeyWord SearchRequest.ResponseGroup = New String() {"Request", “Small"} SearchRequest.ResponseGroup = New String() {"Request", “Small"} SearchRequest.ItemPage = CurrPage SearchRequest.ItemPage = CurrPage SearchRequest.Sort = SortOrder SearchRequest.Sort = SortOrder itemSearch.AssociateTag = ConfigurationSettings.AppSettings("AmazonAffiliateTag") itemSearch.AssociateTag = ConfigurationSettings.AppSettings("AmazonAffiliateTag") itemSearch.SubscriptionId = ConfigurationSettings.AppSettings("AmazonDeveloperToken") itemSearch.SubscriptionId = ConfigurationSettings.AppSettings("AmazonDeveloperToken") itemSearch.Request = New wsAmazonECS.ItemSearchRequest() {SearchRequest} itemSearch.Request = New wsAmazonECS.ItemSearchRequest() {SearchRequest} Return aws.ItemSearch(itemSearch).Items(0) Return aws.ItemSearch(itemSearch).Items(0) End Function End Function
20
ISBN Search Function SearchByISBN(ByVal ISBNNumber As String) As wsAmazonECS.Items Function SearchByISBN(ByVal ISBNNumber As String) As wsAmazonECS.Items Dim LookupRequest As New wsAmazonECS.ItemLookupRequest Dim LookupRequest As New wsAmazonECS.ItemLookupRequest Dim itemLookup As New wsAmazonECS.ItemLookup Dim itemLookup As New wsAmazonECS.ItemLookup LookupRequest.ItemId = New String() {ISBNNumber} LookupRequest.ItemId = New String() {ISBNNumber} LookupRequest.ResponseGroup = New String() {"Request", "Large"} LookupRequest.ResponseGroup = New String() {"Request", "Large"} 'Since we are Searching a specific item, we use the itemLookup object 'Since we are Searching a specific item, we use the itemLookup object itemLookup.AssociateTag = ConfigurationSettings.AppSettings("AmazonAffiliateTag") itemLookup.AssociateTag = ConfigurationSettings.AppSettings("AmazonAffiliateTag") itemLookup.SubscriptionId = ConfigurationSettings.AppSettings("AmazonDeveloperToken") itemLookup.SubscriptionId = ConfigurationSettings.AppSettings("AmazonDeveloperToken") itemLookup.Request = New wsAmazonECS.ItemLookupRequest() {LookupRequest} itemLookup.Request = New wsAmazonECS.ItemLookupRequest() {LookupRequest} Return aws.ItemLookup(itemLookup).Items(0) Return aws.ItemLookup(itemLookup).Items(0) End Function End Function
21
Multiple Criteria - Power Search Available only for Books Can offer the same functionality as Single Category Searches but with the additional power of searching multiple criteria. Examples: author: ambrose author: ambrose author: ambrose and binding: (abridged or large print) and pubdate: after 11-1996 author: ambrose and binding: (abridged or large print) and pubdate: after 11-1996 subject: history and (spain or mexico) and not military and language: spanish subject: history and (spain or mexico) and not military and language: spanish (subject: marketing and author: kotler) or (publisher: harper and subject: "high technology") (subject: marketing and author: kotler) or (publisher: harper and subject: "high technology") keywords: "high tech*" and not fiction and pubdate: during 1999 keywords: "high tech*" and not fiction and pubdate: during 1999 isbn: 0446394319 or 0306806819 or 1567993850 isbn: 0446394319 or 0306806819 or 1567993850
22
Power Search Function PowerSearch(ByVal PowerSearchString As String, ByVal SortOrder As String, ByVal CurrPage As String) As wsAmazonECS.Items Function PowerSearch(ByVal PowerSearchString As String, ByVal SortOrder As String, ByVal CurrPage As String) As wsAmazonECS.Items 'Create an instance of the Search Request object to store the search values for this type of search. 'Create an instance of the Search Request object to store the search values for this type of search. Dim SearchRequest As New wsAmazonECS.ItemSearchRequest Dim SearchRequest As New wsAmazonECS.ItemSearchRequest Dim itemSearch As New wsAmazonECS.ItemSearch 'Set the properties of this search to store the Search Type, Search Parameters, Sord Order and Types of data requested 'Set the properties of this search to store the Search Type, Search Parameters, Sord Order and Types of data requested SearchRequest.SearchIndex = "Books" SearchRequest.SearchIndex = "Books" SearchRequest.Power = PowerSearchString SearchRequest.Power = PowerSearchString SearchRequest.ResponseGroup = New String() {"Request", "Large"} SearchRequest.ResponseGroup = New String() {"Request", "Large"} SearchRequest.Sort = SortOrder SearchRequest.Sort = SortOrder SearchRequest.ItemPage = CurrPage SearchRequest.ItemPage = CurrPage 'Set the authentication values and Search Request information for the search 'Set the authentication values and Search Request information for the search itemSearch.AssociateTag = ConfigurationSettings.AppSettings("AmazonAffiliateTag") itemSearch.AssociateTag = ConfigurationSettings.AppSettings("AmazonAffiliateTag") itemSearch.SubscriptionId = ConfigurationSettings.AppSettings("AmazonDeveloperToken") itemSearch.SubscriptionId = ConfigurationSettings.AppSettings("AmazonDeveloperToken") itemSearch.Request = New wsAmazonECS.ItemSearchRequest() {SearchRequest} itemSearch.Request = New wsAmazonECS.ItemSearchRequest() {SearchRequest} 'Return the Search Results as an items collection 'Return the Search Results as an items collection Return aws.ItemSearch(itemSearch).Items(0) Return aws.ItemSearch(itemSearch).Items(0) End Function End Function
23
Demo Time Searching Amazon.com Searching Amazon.com Building a Shopping Cart Application (Part 2) Customizing the Use Experience (Part 2) Affiliate Programs (Part 2)
24
What’s New.. AWS Management ServicesAWS Management Services(Beta) AWS Management Services Allows you to track and maintain your web services in the Amazon Web Services family. Allows you to track and maintain your web services in the Amazon Web Services family. http://www.amazon.com/gp/aws/sdk/102-7297225-8695301?s=AWSManagementService&v=1-0 Amazon Simple Queue Service Amazon Simple Queue Service (Beta) Amazon Simple Queue Service High Speed Queue Service for buffering messages High Speed Queue Service for buffering messages http://www.amazon.com/gp/browse.html/ref=sc_fe_l_1/102-7297225- 8695301?%5Fencoding=UTF8&node=13584001&no=13584171&me=A36L942TSJ2AJ A http://www.amazon.com/gp/browse.html/ref=sc_fe_l_1/102-7297225- 8695301?%5Fencoding=UTF8&node=13584001&no=13584171&me=A36L942TSJ2AJ A
25
Resources AWSZone.com – Tons of great examples. Elena Dykhno (a.k.a. Elena-d) is a true genius and runs the site. She is also quite active on Amazon’s discussion forum AWSZone.com – Tons of great examples. Elena Dykhno (a.k.a. Elena-d) is a true genius and runs the site. She is also quite active on Amazon’s discussion forum AWSZone.comdiscussion forum AWSZone.comdiscussion forum Implementing Amazon Web Services in VB.NET – Great Article Implementing Amazon Web Services in VB.NET – Great Article Implementing Amazon Web Services in VB.NET Implementing Amazon Web Services in VB.NET Hunting the Web Services at Amazon – An article on PHP access, but with some nice explanations Hunting the Web Services at Amazon – An article on PHP access, but with some nice explanations Hunting the Web Services at Amazon Hunting the Web Services at Amazon Tying into the Amazon.com Web Service Dan Wahlin’s site xmlforasp.net Tying into the Amazon.com Web Service Dan Wahlin’s site xmlforasp.net Tying into the Amazon.com Web Service Tying into the Amazon.com Web Service Amazon Explorer - An adventure with ASP.NET & the Amazon Web Service – Highly rated article on code project Amazon Explorer - An adventure with ASP.NET & the Amazon Web Service – Highly rated article on code project Amazon Explorer - An adventure with ASP.NET & the Amazon Web Service Amazon Explorer - An adventure with ASP.NET & the Amazon Web Service
26
Jobs
27
Books ISBN: 0782143075ISBN: 0596005423
28
Thank You Contact Info: David Silverlight David Silverlight HeadGeek@XMLPitstop.com HeadGeek@XMLPitstop.com Visit some of my sites…. XMLPitstop.com XMLPitstop.com DOTNetPitstop.com DOTNetPitstop.com NonProfitWays.com NonProfitWays.com
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.