# SDK reference

> Every public method, component and event of the TryYourSize SDKs: web, React, Node.js, Python, iOS, Android, React Native and Flutter.

Source: https://docs.tryyoursize.com/reference/

One page per public method, component and event, generated from each SDK's source code. Examples come in tabs; pick your language once (header switcher or any tab) and every page follows it. The HTTP endpoints are in the [HTTP API reference](https://docs.tryyoursize.com/api/reference.md), generated from our OpenAPI spec.

- [Web SDK](https://docs.tryyoursize.com/reference/web.md): @tryyoursize/sdk · TryYourSize.js for any storefront: the client, elements, events and web components.
- [React](https://docs.tryyoursize.com/reference/react.md): @tryyoursize/react · A provider, hooks and element components for TryYourSize.js, shaped like @stripe/react-stripe-js.
- [Node.js](https://docs.tryyoursize.com/reference/node.md): @tryyoursize/node · The server SDK for Node.js 18+: recommendations, catalog, orders and returns, audit log, webhooks.
- [Python](https://docs.tryyoursize.com/reference/python.md): tryyoursize · The server SDK for Python 3.9+, standard library only: recommendations, catalog, orders and returns, audit log, webhooks.
- [iOS](https://docs.tryyoursize.com/reference/ios.md): TryYourSize (Swift) · The native Size guide button (SwiftUI and UIKit), the shopper's recommended size, and the TryYourSize window in a sheet.
- [Android](https://docs.tryyoursize.com/reference/android.md): com.tryyoursize:tryyoursize-android · The native Size guide button (Compose and Views), the shopper's recommended size, and the TryYourSize window.
- [React Native](https://docs.tryyoursize.com/reference/react-native.md): @tryyoursize/react-native · The native Size guide button and the shopper's recommended size in React Native, over the iOS and Android SDKs.
- [Flutter](https://docs.tryyoursize.com/reference/flutter.md): tryyoursize (Dart) · The native Size guide button and the shopper's recommended size in Flutter, over the iOS and Android SDKs.

## Browser and apps, or server?

| Where it runs | Key | SDKs |
|---|---|---|
| Your storefront (browser) | Publishable `pk_…` | [Web SDK](https://docs.tryyoursize.com/reference/web.md), [React](https://docs.tryyoursize.com/reference/react.md) |
| Your apps | Publishable `pk_…` | [iOS](https://docs.tryyoursize.com/reference/ios.md), [Android](https://docs.tryyoursize.com/reference/android.md), [React Native](https://docs.tryyoursize.com/reference/react-native.md), [Flutter](https://docs.tryyoursize.com/reference/flutter.md) |
| Your server | Secret `sk_…` or restricted `rk_…` | [Node.js](https://docs.tryyoursize.com/reference/node.md), [Python](https://docs.tryyoursize.com/reference/python.md) |

Error codes: [web SDK errors](https://docs.tryyoursize.com/sdk/errors.md), [mobile SDK errors](https://docs.tryyoursize.com/mobile/errors.md), [API errors](https://docs.tryyoursize.com/api/errors.md).
