> ## Documentation Index
> Fetch the complete documentation index at: https://docs.newapi.si/llms.txt
> Use this file to discover all available pages before exploring further.

# Sdk python

***

title: "Пример SDK (Python)"
description: "OpenAI Python SDK"
--------------------------------

```python theme={null}
from openai import OpenAI
client = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.newapi.si")
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.