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:
@@ -1,11 +1,11 @@
|
|||||||
# Paapi
|
# Paapi
|
||||||
|
|
||||||
|
> **DEPRECATED:** Amazon is shutting down PA-API v5 on May 15, 2026 and replacing it with the [Creators API](https://webservices.amazon.com/paapi5/documentation/). This gem will stop working after that date. Please migrate to the [Vacuum gem (v5.0+)](https://github.com/hakanensari/vacuum), which already supports the new API.
|
||||||
|
|
||||||
`paapi` is a slim wrapper around [Amazon's Product Advertising API 5.0](https://webservices.amazon.com/paapi5/documentation/).
|
`paapi` is a slim wrapper around [Amazon's Product Advertising API 5.0](https://webservices.amazon.com/paapi5/documentation/).
|
||||||
|
|
||||||
[](https://travis-ci.org/dkam/paapi)
|
[](https://travis-ci.org/dkam/paapi)
|
||||||
|
|
||||||
If this gem doesn't meet your needs, try the [Vacuum gem](https://github.com/hakanensari/vacuum).
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Add this line to your application's Gemfile:
|
Add this line to your application's Gemfile:
|
||||||
|
|||||||
@@ -6,6 +6,13 @@ require "paapi/listing"
|
|||||||
require "paapi/response"
|
require "paapi/response"
|
||||||
|
|
||||||
module Paapi
|
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 Error < StandardError; end
|
||||||
|
|
||||||
class NotImplemented < StandardError; end
|
class NotImplemented < StandardError; end
|
||||||
|
|||||||
Reference in New Issue
Block a user