1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/docs/sdks/python.md
Christopher Kolstad c224786f29
feat: update docs to match v4.
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2021-05-18 11:19:33 +02:00

27 lines
707 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: python_sdk
title: Python SDK
---
> **Required details**
>
> - **API URL** Where you should connect your client SDK
> - **API Secret** [Your API secret required to connect to your instance](../user_guide/api-token).
>
> You can find this information in the “Admin” section Unleash management UI.
```python
from UnleashClient import UnleashClient
client = UnleashClient(
url="<API url>",
app_name="my-python-app",
custom_headers={'Authorization': '<Client secret>'})
client.initialize_client()
client.is_enabled("unleash.beta.variants")
```
Read more at [github.com/Unleash/unleash-client-python](https://github.com/Unleash/unleash-client-python)