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.
Go to file
2024-09-02 22:48:56 +01:00
.gitignore Update gitignore 2024-09-01 18:19:04 +01:00
README.md Refactoring file names and structure, adding retries and proper closure to API calls, updating README, adding footer to Discord notifications 2024-09-01 18:16:01 +01:00
SentNotifications.json.example Refactoring file names and structure, adding retries and proper closure to API calls, updating README, adding footer to Discord notifications 2024-09-01 18:16:01 +01:00
ShipmentNotifier.py Refactoring file names and structure, adding retries and proper closure to API calls, updating README, adding footer to Discord notifications 2024-09-01 18:16:01 +01:00
ShipmentNotifierAmazonAPI.py Refactoring file names and structure, adding retries and proper closure to API calls, updating README, adding footer to Discord notifications 2024-09-01 18:16:01 +01:00
ShipmentNotifierHelpers.py Adding @ tag to Discord notification 2024-09-02 22:48:56 +01:00
ShipmentNotifierLogger.py Refactoring file names and structure, adding retries and proper closure to API calls, updating README, adding footer to Discord notifications 2024-09-01 18:16:01 +01:00
ShipmentNotifierSettings.yaml.example Refactoring file names and structure, adding retries and proper closure to API calls, updating README, adding footer to Discord notifications 2024-09-01 18:16:01 +01:00

ShipmentNotifier

Script that polls the Amazon SP-API for most recent shipments, if a shipment is found that has been created in the last 14 days, sends a Discord notification to a provided webhook.

  • Acceptable time delta: < 14 days - 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
  • Runs every 10 minutes via cron