sonnenglas / amazon-mws-laravel

A library to connect to Amazon's MWS web services in an object oriented manner
Apache License 2.0
64 stars 73 forks source link

Why are report time limits being altered? #31

Open flyingL123 opened 5 years ago

flyingL123 commented 5 years ago

I see here that you are subtracting 120 seconds from the time limits submitted with a report request:

https://github.com/sonnenglas/amazon-mws-laravel/blob/stable/src/AmazonCore.php#L572

What is the reason for this? I need to generate reports that start at the beginning of a day and end at the end of a day, but this library is subtracting 2 minutes from each of my time limits. I'm confused as to why the library would be designed to do this.

Can you explain that please?

flyingL123 commented 5 years ago

Hi, can you please provide some further explanation on this? I see in your comment for the method it says alters the timestamp to:

to prevent it from tripping up Amazon

Can you clarify what this means?