{"repo":"lineofflight/peddler","free":true,"listed":false,"github":"https://github.com/lineofflight/peddler","clone":"git clone https://github.com/lineofflight/peddler.git","description":"Amazon Selling Partner API (SP-API) in Ruby","language":"Ruby","stars":318,"topics":["ruby","ecommerce","amazon","sp-api","selling-partner-api"],"license":"MIT","category":"ecommerce","readme_excerpt":"Peddler Peddler is a Ruby interface to the [Amazon Selling Partner API (SP-API)][api-docs]. The SP-API enables Amazon sellers and vendors to programmatically access their data on orders, shipments, payments, and more. Peddler is automatically generated from the latest Open API models provided by Amazon. A nightly job tracks Amazon's spec changes, so new endpoints and fields land shortly after Amazon publishes them. Model changes are not considered breaking and don't trigger a major version bump. Peddler covers all SP-API endpoints, reports, notifications, and feeds. It's also lightweight: thanks to Zeitwerk, only the code you use gets loaded. Installation Add to your Gemfile. Agent skill If you use an agent, install the SP-API skill: Usage Authorization Before using Peddler, you must [register as a developer][register-as-developer], [register your application][register-application], and [obtain your Login with Amazon (LWA) credentials][view-credentials]; Amazon's [official SP-API code samples][api-samples] can help you get started. Set your LWA credentials in your environment. A seller or vendor [provides you a refresh token][authorization] to access their data on Amazon. Use this to generate a temporary access token to authenticate individual requests. Similarly, you can request a token for grantless operations. In place of environment variables, you can set them directly when requesting the token. Access tokens are valid for one hour. To optimize performance, cache and reus","default_branch":null,"files":null,"tree":[],"storefront":"/r/lineofflight","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lineofflight/peddler/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}