# Installation (https://docs.predictorsdk.com/sdk/installation)

Install the TypeScript, Python or Go client and make your first call.

The TypeScript, Python and Go clients are generated from the same
[OpenAPI spec](https://docs.predictorsdk.com/openapi.yaml) as these docs, so they cover the same endpoints,
each with its own language's naming and types.

## Install [#install]

  **TypeScript**
    ```bash
    npm install @predictorsdk/client
    ```
    **Python**
    ```bash
    pip install predictorsdk
    ```
    **Go**
    ```bash
    go get github.com/PredictorSDK/sdk-go
    ```
  
## Initialize the client [#initialize-the-client]

  **TypeScript**
    ```ts
    import { PredictorSDKClient } from "@predictorsdk/client";

    const client = new PredictorSDKClient({
      token: "YOUR_API_KEY",
    });
    ```
    **Python**
    ```python
    from predictorsdk import PredictorSDK

    client = PredictorSDK(token="YOUR_API_KEY")
    ```
    **Go**
    ```go
    import predictorclient "github.com/PredictorSDK/sdk-go/client"
    import "github.com/PredictorSDK/sdk-go/option"

    client := predictorclient.New(option.WithToken("YOUR_API_KEY"))
    ```
  
Pass `token`, your API key: every call needs it except `getPlans`, and a call
without it answers `401`. Each SDK page lists the other options, such as
timeouts and retries.

## Packages [#packages]

| Language | Package | Needs |
|---|---|---|
| TypeScript | [`@predictorsdk/client`](https://www.npmjs.com/package/@predictorsdk/client) | Node.js 18 or later |
| Python | [`predictorsdk`](https://pypi.org/project/predictorsdk/) | Python 3.8 or later |
| Go | [`github.com/PredictorSDK/sdk-go`](https://github.com/PredictorSDK/sdk-go) | Go 1.21 or later |

Next, the [Quickstart](https://docs.predictorsdk.com/quickstart) makes your first calls, and the
[TypeScript](https://docs.predictorsdk.com/sdk/typescript), [Python](https://docs.predictorsdk.com/sdk/python) and [Go](https://docs.predictorsdk.com/sdk/go) pages
list every method and type.