amazon

Make a signed query with Amazon API MWS

ε祈祈猫儿з 提交于 2019-12-02 13:46:22
问题 I'm trying to make a signed request for Seller Amazon Web Services (MWS). I'm using a script from here: Converting amazon MWS scratchpad queries to API calls But I don't know why I've got an error: "The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details." So here is my script: define ("AWS_ACCESS_KEY_ID", "xxxxx"); define ("MERCHANT_ID", "xxxxx"); define ("MARKETPLACE_ID"

Getting price from Amazon with Xpath

笑着哭i 提交于 2019-12-02 10:08:19
in the following page: http://www.amazon.com/Jessica-Simpson-Womens-Double-Breasted/dp/B00K65ZMCA/ref=sr_1_4_mc/185-0705108-6790969?s=apparel&ie=UTF8&qid=1413083859&sr=1-4 I am trying to get the price with the expression '//span[@id="priceblock_ourprice"]' but the result is an empty variable. the interesting part is that In other amazon pages, like this one : http://www.amazon.com/SanDisk-Cruzer-Frustration-Free-Packaging--SDCZ36-032G-AFFP/dp/B007JR532M/ref=sr_1_1?s=pc&ie=UTF8&qid=1413084653&sr=1-1&keywords=usb I do have an expression that works '//b[@class="priceLarge"]' But i dont even know

SignatureDoesNotMatch browser based upload to s3

放肆的年华 提交于 2019-12-02 09:34:54
问题 I know many asked this question and I looked into their post but I still never got the correct answer so here goes. I'm trying to upload an image to s3 using the Browser Based uploading technique introduce by Amazon dev. Right now I'm able to calculate both policy & signature on my end. But when I tried to upload an image I always get a "Signature not match" (>.<). One main problem I'm having is that the credentials I have are just temporary: AWS Security Token Service, this consist of an

Replacing bytes of an uploaded file in Amazon S3

隐身守侯 提交于 2019-12-02 08:36:44
I understand that in order to upload a file to Amazon S3 using Multipart, the instructions are here: http://docs.aws.amazon.com/AmazonS3/latest/dev/llJavaUploadFile.html How do I go about replacing the bytes (say, between the range 4-1523) of an uploaded file? Do I need to make use of Multipart Upload to achieve this? or do I fire a REST call with the range specified in the HTTP header? Appreciate any advice. Objects in S3 are immutable. If it's a small object, you'll need to upload the entire object again. If it's an object over 5MB in size, then there is a workaround that allows you to

Amazon S3 ERR_INSECURE_RESPONSE on Laravel

心已入冬 提交于 2019-12-02 08:15:34
I'm using Laravel framework on my subdomain sub.example.com trying to implement the connection with Amazon S3 for all the pictures of my website. This is my Policy for my bucket ( bucket-1 ) { "Id": "Policy************", "Version": "2012-10-17", "Statement": [ { "Sid": "Stmt***********", "Action": [ "s3:GetObject" ], "Effect": "Allow", "Resource": "arn:aws:s3:::bucket-1/*", "Principal": "*" } ] } This is my CORS <?xml version="1.0" encoding="UTF-8"?> <CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> <CORSRule> <AllowedOrigin>*</AllowedOrigin> <AllowedMethod>GET</AllowedMethod

Make a signed query with Amazon API MWS

孤人 提交于 2019-12-02 07:35:05
I'm trying to make a signed request for Seller Amazon Web Services (MWS). I'm using a script from here: Converting amazon MWS scratchpad queries to API calls But I don't know why I've got an error: "The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details." So here is my script: define ("AWS_ACCESS_KEY_ID", "xxxxx"); define ("MERCHANT_ID", "xxxxx"); define ("MARKETPLACE_ID", "xxxxx"); define ("AWS_SECRET_ACCESS_KEY","xxxxx"); $base_url = "https://mws.amazonservices.fr

Having trouble starting Jenkins: “java.io.FileNotFoundException: /usr/share/java/jenkins/war/META-INF/MANIFEST.MF (No such file or directory)”

余生颓废 提交于 2019-12-02 02:27:52
问题 I just downloaded the Jenkins WAR, version 1.651.1. I’m trying to set it up on my Amazon Linux box. I’m running Java 1.7. I moved the WAR into its own directory, /usr/share/java/jenkins, and then set JENKINS_HOME to be that directory. Then I ran the command listed here — https://wiki.jenkins-ci.org/display/JENKINS/Starting+and+Accessing+Jenkins . Looked so simple on the web site. But wouldn’t you know it. Got the below error [davea@mydevbox ~]$ java -jar /usr/share/java/jenkins/jenkins.war

Android Studio runtime error Stub! at com.amazon.device.messaging.ADMMessageReceiver.<init>()

纵饮孤独 提交于 2019-12-01 18:04:46
When I build the Amazon (Kindle) flavor of my Android app I run into this Runtime error: Caused by: java.lang.RuntimeException: Stub! at com.amazon.device.messaging.ADMMessageReceiver.<init>() I need the local amazon-device-messaging.jar file to compile my app, however I do not need to include it during runtime as the amazon device will have the necessary classes and methods. How do I update my Android Studio build.gradle file to do this? I also ran into this issue. When adding the Amazon Device Messaging jar as a library, Android Studio automatically generated dependencies { compile files(

Programmatically login to Amazon with C#

烈酒焚心 提交于 2019-12-01 17:35:50
I want to login to Amazon seller central programmatically with C#. I don't want to use Amazon Web Services. Here is what I have done so far: private void button1_Click(object sender, EventArgs e) { string appURL = "https://sellercentral.amazon.com/gp/sign-in/sign-in.html/ref=xx_login_lgin_home"; string strPostData = "protocol=https&action=sign-in&email=test%40gmail.com&destination=https%3A%2F%2Fsellercentral.amazon.com%2Fgp%2Fhomepage.html%3Fie%3DUTF8%26%252AVersion%252A%3D1%26%252Aentries%252A%3D0&optin=1&ouid=01&password=ntest&sign-in-button=&metadata1=SIsVVcIUMA1uElSK

Is it legal to crawl Amazon? [closed]

那年仲夏 提交于 2019-12-01 17:26:54
I want to have specific information from amazon like product name and description! Is it legal to crawl amazon. or Is amazon is providing any api for getting its data paid or nonpaid both Amazon's " Product Advertising API " allows this. You should closely read the license agreement as its highly restrictive as to what they allow you to do with it. 来源: https://stackoverflow.com/questions/11080584/is-it-legal-to-crawl-amazon