Skip to main content
Each SDK is generated from the API’s OpenAPI document, so it has a method or a typed path for every operation in the API reference. They all work the same way:
  • They take an API key or an OAuth access token, or a function that returns a fresh one.
  • They follow pagination cursors for you.
  • They raise an error that holds the problem details, with its stable code.
  • They retry rate limits after Retry-After, and retry other failures only when that cannot make a change twice.
  • They verify webhook signatures.

TypeScript

npm install @stockshift/sdk. Node.js 20 or later, and browsers.

PHP

composer require stockshift/sdk-php. PHP 8.2 or later.

Laravel

composer require stockshift/laravel. Config, a facade, webhook events and a test fake.

Python

pip install stockshift. Sync and async clients.

Go

go get github.com/StockShift/go-sdk.

Rust

cargo add stockshift. Async, on tokio.

.NET

dotnet add package StockShift.Sdk.

Versions

An SDK’s major version moves when the API changes in a way that can break your code, such as a removed field or a new required parameter. New endpoints and fields come in minor versions.