amazon

Using python-amazon-product-api on Google Appengine without lxml [duplicate]

筅森魡賤 提交于 2019-12-05 13:03:15
This question already has answers here : Closed 7 years ago . Possible Duplicate: Amazon API library for Python? I'm wanting to use the python-amazon-product-api wrapper to access the Amazon API: http://pypi.python.org/pypi/python-amazon-product-api/ Unfortunately it relies on lxml which is not supported on Google Appengine. Does anyone know a workaround? I'm only looking to do basic stuff with the API so could I use Elementtree instead? I'm a newbie so using anything other than how it comes out of the box is still a challenge :) Thanks Tom You could try to use this fork. This is a minor fork

Could someone provide a C# example using itemsearch from Amazon Web Services

孤街浪徒 提交于 2019-12-05 12:37:24
I am trying to use Amazon Web Services to query Artist and title information and receive album art back. Using C# I cannot find any examples that come even close to this. All of the examples online are outdated and do not work with AWS' newer version. Here you go for what it's worth. This is code within an Asp.Net control to display book information. You can probably adapt it for your purposes easily enough. Or at least give you a starting-point. If you really want, I'd be happy to bundle the control up and send it your way. if (!(string.IsNullOrEmpty(ISBN) && string.IsNullOrEmpty(ASIN))) {

Special Characters in Amazon SES

為{幸葍}努か 提交于 2019-12-05 11:54:08
I'm using AWS SDK for PHP ( https://github.com/aws/aws-sdk-php ) to send emails using Amazon SES. Here's the code: <?php require 'vendor/autoload.php'; use Aws\Ses\SesClient; $client = SesClient::factory(array( 'key' => 'XXXXXXXXXXXXXXXX', 'secret' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXX', 'region' => 'eu-west-1' )); $result = $client->sendEmail(array( // Source is required 'Source' => 'Télécom Co <email@address.com>', // Destination is required 'Destination' => array( 'ToAddresses' => array('Grégory Smith <another_email@address.com>') ), // Message is required 'Message' => array( // Subject is

InvalidAMIID.NotFound, AWS Error Message: The AMI ID 'ami-c1aaabb5' does not exist

烂漫一生 提交于 2019-12-05 11:45:59
I'm trying to launch a Ubuntu 12.04 LTS Server 64 bit, with EBS, programmatically. I've written the following code: Placement placement = new Placement("eu-west-1b"); RunInstancesRequest runInstancesRequest = new RunInstancesRequest() .withPlacement(placement).withInstanceType("t1.micro") .withImageId("ami-c1aaabb5").withMinCount(1).withMaxCount(1) .withSecurityGroupIds("testGroup").withKeyName("testKey") .withUserData(Base64.encodeBase64String(startupScript.getBytes())); RunInstancesResult runInstances = amazonEC2.runInstances(runInstancesRequest); List<Instance> instances = runInstances

How to Authenticate with Alexa Voice Service from Android?

五迷三道 提交于 2019-12-05 11:19:04
I am trying to connect to Alexa Voice Service from and Android app following the directions on this page. https://developer.amazon.com/public/solutions/alexa/alexa-voice-service/docs/authorizing-your-alexa-enabled-product-from-an-android-or-ios-mobile-app Bundle options = new Bundle(); String scope_data = "{\"alexa:all\":{\"productID\":\"" + PRODUCT_ID + "\", \"productInstanceAttributes\": {\"deviceSerialNumber\":\"" + PRODUCT_DSN + "\"}}}"; options.putString(AuthzConstants.BUNDLE_KEY.SCOPE_DATA.val, scope_data); options.putBoolean(AuthzConstants.BUNDLE_KEY.GET_AUTH_CODE.val, true); options

How to set up ProGuard for Amazon IAP?

僤鯓⒐⒋嵵緔 提交于 2019-12-05 10:54:41
问题 I'm trying to set up a basic ProGuard with Amazon IAP integrated. However when I'm trying to export my APK, I got the following errors: [2012-06-17 10:59:44 - sc] Proguard returned with error code 1. See console [2012-06-17 10:59:44 - sc] Unexpected error while performing partial evaluation: [2012-06-17 10:59:44 - sc] Class = [com/amazon/inapp/purchasing/KiwiResponseHandler$PurchaseResponseHandlerRunnable] [2012-06-17 10:59:44 - sc] Method = [run()V] [2012-06-17 10:59:44 - sc] Exception =

How to search for other countries using Amazon Product Advertising API

[亡魂溺海] 提交于 2019-12-05 10:49:05
I need to be able to search for a product based on barcode, keyword or ASIN - and show the results from amazon.co.uk, amazon.com, amazon.de and amazon.fr (UK, USA, Germany and France). Is that possible? If so, how do I do it? At the bottom of this page , you will find links to the various Locales where this Product Advertising API works. However, you need to make a separate subscription to each one of these different APIs. In other words, you need a different AssociateTag , AccessKeyId and a secret key in order to access those different APIs. You can implement a search engine that uses all of

Amazon AWS S3 IAM Policy based on namespace or tag

旧巷老猫 提交于 2019-12-05 10:16:13
I have a number of buckets that start with the same namespace as in assets-<something> , so I was wondering what would be the best option to give rights to IAM group with minimal need to maintain it. Is it possible to use any sort of regex in ARN? Or maybe I could use tags? EC2 has condition for ResourceTag , but it appears that it does not exist for S3. Or should I with each bucket add new ARN to the policy? Again I am searching for the minimal solution so attaching new policy to each bucket itself seems to be a bit much. An IAM policy can grant access to Amazon S3 buckets based on a wildcard

Amazon DynamoDB and relationship many-to-many

偶尔善良 提交于 2019-12-05 08:38:41
I have two tables, and some fields between that tables has many-to-many relationships. How can i implement this feature in Amazon DynamoDB? Quick answer: Either in your code or denormalize your tables (store redundant data). Denormalize; in otherwords, store redundant data in the central "join" table so you can get all the information you want by querying that one table. This is probably your best option, but you need to remember to update all relevant records in the central table when you update the left or right tables. The cost of this is extra data storage, plus additional programming

Rails / Heroku - How to anti-virus scan uploaded file?

送分小仙女□ 提交于 2019-12-05 08:14:13
How is it possible to scan a uploaded file for viruses, trojans etc.? Just thinking about preventing some users to upload some nasty stuff. I am using Heroku and Amazon S3. check out This it's support a REST/JSON antivirus web service Here is the post - https://stackoverflow.com/questions/4104985/antivirus-scanning-service For the passers-by asking the same question: Metascan . It's free and has a simple API! For anyone approaching this in future we recently created CarrierWave::AttachmentScanner to easily integrate virus and malware scanning into Rails and CarrierWave. The plugin basically