From a7070f5ef5a72f484d5e9f8632507ea35409a34e Mon Sep 17 00:00:00 2001 From: Dom Date: Fri, 12 Jul 2024 19:51:55 +0100 Subject: [PATCH] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fce8f62..2b1a7cf 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ # ShipmentNotifier -Script that polls the Amazon SP-API for most recent shipments, if a shipment is found that has been created in the last 10 minutes, sends a Discord notification to a provided webhook. +Script that polls the Amazon SP-API for most recent shipments, if a shipment is found that has been created in the last 6 hours, sends a Discord notification to a provided webhook. -- Acceptable time delta: < 10 minutes +- Acceptable time delta: < 6 hours - accounts for SP-API delays and time for the shipment to transition to 'Shipped' - Number of shipments to look for: 10 +- Stores UID of shipments that a notification has previously been sent for to avoid sending duplicate notifications - Recommended to run every 10 minutes via cron \ No newline at end of file