Skip to content

Commit

Permalink
Merge pull request #182 from Unleash/docs/reference-flask-sdk
Browse files Browse the repository at this point in the history
docs: Link to flask sdk in docs
  • Loading branch information
sighphyre committed Dec 6, 2021
2 parents 6597163 + d92c783 commit 80784a6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -24,6 +24,10 @@ Check out the package on [Pypi](https://pypi.org/project/UnleashClient/)!
pip install UnleashClient
```

## For Flask Users

If you're looking into running Unleash from Flask, you might want to take a look at [_Flask-Unleash_, the Unleash Flask extension](https://github.com/Unleash/Flask-Unleash). The extension builds upon this SDK to reduce the amount of boilerplate code you need to write to integrate with Flask. Of course, if you'd rather use this package directly, that will work too.

## Usage

### Initialization
Expand All @@ -35,7 +39,7 @@ client = UnleashClient(
url="https://unleash.herokuapp.com",
app_name="my-python-app",
custom_headers={'Authorization': '<API token>'})

client.initialize_client()
```

Expand Down

0 comments on commit 80784a6

Please sign in to comment.