mirror of
https://github.com/dkam/paapi.git
synced 2026-03-29 15:29:22 +00:00
Deprecate paapi gem in favour of vacuum v5.0+
Amazon is shutting down PA-API v5 on May 15, 2026. Added deprecation warning on require and a notice in the README directing users to the vacuum gem which supports the new Creators API. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -6,6 +6,13 @@ require "paapi/listing"
|
||||
require "paapi/response"
|
||||
|
||||
module Paapi
|
||||
DEPRECATION_MESSAGE = <<~MSG.freeze
|
||||
[DEPRECATION] The paapi gem is deprecated and will stop working after May 15, 2026.
|
||||
Amazon is replacing PA-API v5 with the Creators API.
|
||||
Please switch to the vacuum gem (v5.0+): https://github.com/hakanensari/vacuum
|
||||
MSG
|
||||
|
||||
warn DEPRECATION_MESSAGE
|
||||
class Error < StandardError; end
|
||||
|
||||
class NotImplemented < StandardError; end
|
||||
|
||||
Reference in New Issue
Block a user