# Choose an SDK

> Install commands for all 10 official ShopSavvy Data API SDKs side by side (TypeScript, Python, Ruby, Go, Java, PHP, C#, Rust, Swift, Kotlin) and which fits.

*Source: https://shopsavvy.com/data/documentation/sdk-comparison* · Part of the [ShopSavvy Data API documentation](https://shopsavvy.com/data/documentation.md)

---

Choose the right SDK for your technology stack. All SDKs provide the same comprehensive API coverage with language-specific optimizations.

| Feature | TypeScript/JavaScript | Python | Ruby |
|---------|----------------------|--------|------|
| Package Manager | npm, yarn, bun | pip | gem, bundler |
| Type Safety | Full TypeScript | Pydantic models | Runtime validation |
| Async Support | Native async/await | Sync + async variants | Sync only |
| Environment | Node.js, Browser | Python 3.8+ | Ruby 2.7+ |
| Error Handling | Comprehensive | Exception hierarchy | Custom error classes |
| Framework Integration | React, Next.js, Express | Django, FastAPI, Flask | Rails, Sinatra |
| Documentation | TSDoc + examples | Google-style + Sphinx | YARD + examples |

## Quick Installation Comparison

| SDK | Install | Best For |
|-----|---------|----------|
| TypeScript/JavaScript | `npm install @shopsavvy/sdk` | Frontend apps, Node.js services, full-stack applications |
| Python | `pip install shopsavvy-sdk` | Data science, ML pipelines, Django/FastAPI apps |
| Ruby | `gem install shopsavvy-sdk` | Rails applications, Ruby scripts, background jobs |
| Go | `go get github.com/shopsavvy/sdk-go` | High-performance services, microservices |
| Java | `com.shopsavvy:shopsavvy-sdk:1.1.0` (Maven/Gradle) | Enterprise Java apps, Spring Boot |
| PHP | `composer require shopsavvy/shopsavvy-sdk-php` (after adding the GitHub repository, see PHP SDK) | Laravel, Symfony, PHP web apps |
| C# | `dotnet add package ShopSavvy.Sdk` | .NET applications, ASP.NET |
| Rust | `cargo add shopsavvy-sdk` | Systems programming, high-performance |
| Swift | SPM: `https://github.com/shopsavvy/sdk-swift.git` | iOS, macOS native apps |
| Kotlin | `com.shopsavvy:shopsavvy-sdk-kotlin:1.1.0` (Gradle) | Android apps, Kotlin services |

## When to Use Each SDK

**Choose TypeScript/JavaScript if:**
- Building web applications or Node.js services
- Need browser compatibility
- Want the best type safety and IDE support
- Using modern JavaScript frameworks

**Choose Python if:**
- Building data analysis or ML applications
- Need both sync and async support
- Want comprehensive type validation
- Using Django, FastAPI, or Flask

**Choose Ruby if:**
- Building Rails applications
- Want idiomatic Ruby patterns
- Need excellent Rails integration
- Prefer Ruby's expressive syntax
