Amazon SPAPI Rust SDK
A Rust client library for Amazon Selling Partner API (SP-API), providing complete API coverage and type-safe interfaces.
Features
- Complete API Coverage: Auto-generated API models from OpenAPI specifications covering nearly all Amazon SP-API endpoints
- Integrated Client: High-level client wrapper with convenient methods for common API operations
Quick Start
1. Environment Setup
First, set up your Amazon SP-API credentials as environment variables:
# or "true" for sandbox environment
2. Basic Usage
use ;
use Result;
async
3. Using Generated APIs
For advanced usage and access to all API methods, you can use the auto-generated APIs directly. This approach gives you access to every Amazon SP-API endpoint:
use get_marketplace_participations;
use ;
use Result;
async
This approach provides:
- Complete API Access: All Amazon SP-API endpoints are available
- Type Safety: Full type checking for all request/response models
- Rate Limiting: Built-in rate limiting management
- Flexibility: Direct access to all API parameters and options
You can find all available API functions in the amazon_spapi::apis module, organized by API category.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Related Links
Note: This is an unofficial Amazon SP-API Rust client library. Please ensure compliance with Amazon's terms of service and API limitations.