amazon

How to create Global Secondary Index for Json Attributes(column values) in Amazon Dynamo DB in C#?

筅森魡賤 提交于 2019-12-03 20:50:16
I have a table with column Id and JSON column. Id | JSON ---------------------------------------------------------------- 101 | {"person_id":456,"f_name":"t", "l_name":"Jack"} | 102 | {"person_id":123,"f_name":"M", "l_name":"Ron"} | 103 | {"person_id":789,"f_name":"A", "l_name":"Tom"} I am able to create GSI(Global Secondary Index) on column Id , but I would like to know how to create GSI on person_id and f_name . Is it possible to create GSI for json attributes? As upon observation, I was able to create GSI on columns in tables of Dynamo DB..Please provide a C#.Net example .. Taken from http:

Amazon Search API

纵饮孤独 提交于 2019-12-03 20:09:48
问题 Is there a good way to access amazon search results (given a query) in Ruby or Python? I've been looking around for APIs and found a Product Advertising API which seems to not be the same as search. I would prefer not to have to scrape the amazon search web-page given a query (embedded in a url). 回答1: I have been working with Amazon API for several years and I will admit that they seem to try to hide what they are doing with their regular affiliate stuff, like Amazon Search, as if they don't

Amazon Product Advertising API signed request with Java

大憨熊 提交于 2019-12-03 18:42:29
问题 after many hours of tinkering and reading the whole internet several times I just can't figure out how to sign requests for use with the Product Advertising API. So far I managed to generate a client from the provided WSDL file. I used a tutorial by Amazon for this. You can find it here: Tutorial for generating the web service client So far no problems. To test the client I wrote a small piece of code. The code is intended to simply get some information about a product. The product is

How can I support my Android application for multiple Android stores?

二次信任 提交于 2019-12-03 17:33:30
问题 I have recently started selling my Android application on the Google Android Market, and implemented their application licensing scheme to prevent against unauthorized use of my application. I am now planning on releasing it for the Amazon Android App Store as well, and want to know the best way of maintaining two versions of my application: one that implements the Android Licensing, and another that does not. Although my current solution works, it is not optimal, and I am trying to figure

Create Link with Amazon ASIN Number to link the right country (e.g. amazon.com, .co.uk, .jp) by usersettings?

筅森魡賤 提交于 2019-12-03 17:15:21
I have a database and want to link amazon products with their asin . For example B005UEF678 for iPhone 4S, would be amazon.com/dp/B005UEF678 in the US, but amazon.de/dp/B005UEF678 in germany. Actually I don't know which URL is the right, since the user could be from any country? How would you solve this problem? API? Switch Case in Userlanguage? thank you byt he way I use PHP. Peter Mundane there is a servie for ASIN Short URLs called asin.info. You can easily generate your URLs by Amazonlink or with this syntax: http://asin.info/a/{asincode} It will redirect the user to the product for the

Alexa Flask Ask Yes / No response handling

。_饼干妹妹 提交于 2019-12-03 16:33:08
I am trying to create a simple Alexa skill using Flask Ask in python. I have an intent called "SearchIntent" with a "searchterm" slot and the python code looks something like this: @ask.intent("SearchIntent") def SearchIntent(searchterm): resList = [] searchterm = searchterm.lower() for item in somelist: if item.find(searchterm) != -1: resList.append(item) return question("I Found " + str(len(resList)) + ", Do you want me to list them all?") I want to check if the response from the user, if he says "Yes" than read all the results: return statement('\n'.join(resList)) and if the user says no,

Is there a (C#) library that will create feeds for Amazon Marketplace Web Services?

五迷三道 提交于 2019-12-03 16:32:08
问题 Does anyone know of a library out there (preferably in C#) that will take classes and generate XML or flat files suitable for feeds to Amazon Marketplace Web Services? In other words, I'd like to do something like this: var feed = new AmazonProductFeed(); var list = new AmazonProductList(); var product1 = new AmazonProduct(); product1.Name = "Product 1"; list.Add(product1); var product2 = new AmazonProduct(); product2.Name = "Product 2"; list.Add(product2); feed.Products = list; // spits out

Amazon Book API for Python or Ruby? [duplicate]

我的未来我决定 提交于 2019-12-03 16:10:24
This question already has answers here : Closed 7 years ago . Possible Duplicate: Amazon API library for Python? I'm looking for an Amazon API that will allow me to: Find books by title or author Show book covers Get information about each book (price, rating, number of reviews, format, number of pages, etc.) Either a Python or Ruby library would be fine (I just want the library that's easiest to use). Any suggestions? I know there are some other posts about this on SO, but it seems like these APIs get outdated pretty quickly. [I tried a couple suggested Ruby libraries a couple months ago, but

Access headers in AWS API Gateway using HTTP Proxy?

99封情书 提交于 2019-12-03 15:45:00
I'm using AWS API Gateway and it's HTTP Proxy, I need to pass Authorization header to my endpoint through AWS API Gateway Things I've tried: Setting Method Request like so, Integration Request setup This doesn't work, my app doesn't receive the Authorization header, Also I've tried using mapping template { "method": "$context.httpMethod", "body" : $input.json('$'), "headers": { #foreach($param in $input.params().header.keySet()) "$param": "$util.escapeJavaScript($input.params().header.get($param))" #if($foreach.hasNext),#end #end }, "queryParams": { #foreach($param in $input.params()

Connecting Android app to amazon RDS

若如初见. 提交于 2019-12-03 14:48:07
I have an Android application and I want to move my local database in the cloud. I decided for a SQL database and not for a NoSQL, because I want to execute complex queries. I created a database instance in RDS from Amazon and I populated the database. Now I want to connect my mobile app to my cloud database. I sow samples for NoSQL database connection, but I wasn't able to find examples for RDS. I saw that it is recommended to create a web service and connect to that web service, but it seems much more complicated than using a NoSQL and this doesn't feel right. Does Amazon offer some API