Metadata-Version: 2.4
Name: httpie-kws
Version: 1.1.1
Summary: KWS plugin for HTTPie.
Author-email: Luo Jiejun <ljj@knd.com.cn>
License: Apache 2.0
Project-URL: Homepage, https://github.com/windtail/httpie-kws
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: httpie>=3.2

# KWS app auth plugin for httpie

## Using command line arguments

```shell
https -A kws -u $appid:$appsecret https://kws.knd.com.cn/api/v4/manufacturers/
```

## Using environment variables

```shell script
export KWS_APP_ID=$appid
export KWS_APP_SECRET=$appsecret

https -A kws https://kws.knd.com.cn/api/v4/manufacturers/
```

## Using configuration file

Download app auth file to `$HOME/.kws-auth`

```shell script
https -A kws https://kws.knd.com.cn/api/v4/manufacturers/
```
